当前位置:网站首页>Grendao usage problems
Grendao usage problems
2022-06-24 13:58:00 【shuangrenlong】
Integrate
GreenDao The use of, 、 encapsulation 、 Optimize upgrade _Mr_ChenXu The blog of -CSDN Blog
GreenDao Basic introduction & Solve the pit encountered - Simple books
Remember to use api It can be passed on to app modular
problem : Only in Ben moudle In the new bean Produce the corresponding beandao ,app Not in it , How to solve ?
That is to say, it is encapsulated into sdk, There will be problems. ,app. Not made sdk It can be placed directly in moudle Inside . The corresponding entity is also in this moudle
encapsulation
https://www.csdn.net/tags/OtTacg0sOTI2NTItYmxvZwO0O0OO0O0O.html
Package ——DataBase Database collation (greenDao Example ) - Baidu library
android_sqlite Database from basic to SDK encapsulation _dapan728 The blog of -CSDN Blog
Room
Another mainstream is also Google The official recommended database framework , and greenDao similar , The advantage is that sql sentence , The compiler checks at compile time , It is more convenient to use as a whole
Its official documents are as follows
https://developer.android.google.cn/training/data-storage/room
Room stay SQLite An abstraction layer is provided on , In order to make full use of SQLite At the same time , Be able to access the database smoothly .
We strongly recommend that you use Room( instead of SQLite)( Original words on official website )
Use Room Save data to local database | Android developer | Android Developers
边栏推荐
- Kotlin interface generic covariant inversion
- The research on the report "market insight into China's database security capabilities, 2022" was officially launched
- 10 reduce common "tricks"
- [5g NR] 5g NR system architecture
- kotlin 语言特性
- 黄楚平主持召开定点联系珠海工作视频会议 坚决落实省委部署要求 确保防疫情、稳经济、保安全取得积极成效
- Kotlin asynchronous flow
- 远程办公之:在家露营办公小工具| 社区征文
- SAP Marketing Cloud 功能概述(三)
- 知识经济时代,教会你做好知识管理
猜你喜欢

Eight major trends in the industrial Internet of things (iiot)

Google waymo proposed r4d: remote distance estimation using reference target

杰理之TIMER0 用默认的 PA13 来检测脉宽【篇】

谷歌WayMo提出R4D: 采用参考目标做远程距离估计

图扑软件数字孪生海上风电 | 向海图强,奋楫争先

一键生成大学、专业甚至录取概率,AI填报志愿卡这么神奇?

2022年质量员-设备方向-岗位技能(质量员)复训题库及在线模拟考试

国内首款开源MySQL HTAP数据库即将发布,三大看点提前告知

Activity生命周期

龙蜥开发者说:首次触电,原来你是这样的龙蜥社区? | 第 8 期
随机推荐
龙蜥开发者说:首次触电,原来你是这样的龙蜥社区? | 第 8 期
金鱼哥RHCA回忆录:DO447管理清单和凭据--为访问清单主机创建机器凭据
2022年烟花爆竹生产单位安全生产管理人员考试题模拟考试题库模拟考试平台操作
2022 construction elevator driver (construction special type of work) examination questions and online simulation examination
Eight major trends in the industrial Internet of things (iiot)
初识云原生安全:云时代的最佳保障
Jerry's infrared filtering [chapter]
Kotlin asynchronous flow
[R language data science] (XIV): random variables and basic statistics
一个团队可以既做项目又做产品吗?
Yyds dry goods counting solution sword finger offer: adjust the array order so that odd numbers precede even numbers (2)
【5G NR】5G NR系统架构
The hidden corner of codefarming: five things that developers hate most
Jerrys timer0 uses the default pa13 to detect the pulse width [chapter]
项目经理的晋级之路
Huawei PC grows against the trend, and product power determines everything
国内首款开源MySQL HTAP数据库即将发布,三大看点提前告知
kotlin 协程通道
知识经济时代,教会你做好知识管理
greendao使用问题