当前位置:网站首页>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
边栏推荐
- [R language data science] (XIV): random variables and basic statistics
- 2022年施工升降机司机(建筑特殊工种)考试试题及在线模拟考试
- The hidden corner of codefarming: five things that developers hate most
- 【sdx62】WCN685X IPA不生效问题分析及解决方案
- Goldfish rhca memoirs: do447 manage lists and credentials -- create machine credentials for the access list host
- kotlin 语言特性
- HarmonyOS.2
- Android kotlin Encyclopedia
- 2022 Quality Officer - Equipment direction - post skills (Quality Officer) recurrent training question bank and online simulation examination
- The project manager needs to look at six characteristics to build a team
猜你喜欢

The first open source MySQL HTAP database in China will be released soon, and the three highlights will be notified in advance

知识经济时代,教会你做好知识管理
![[R language data science] (XIV): random variables and basic statistics](/img/87/3606041a588ecc615eb8013cdf9fb1.png)
[R language data science] (XIV): random variables and basic statistics

Home office should be more efficient - automated office perfectly improves fishing time | community essay solicitation
![Jerrys timer0 uses the default pa13 to detect the pulse width [chapter]](/img/4e/de0951c8be5ddd765b15b773c04fa7.png)
Jerrys timer0 uses the default pa13 to detect the pulse width [chapter]

SAP Marketing Cloud 功能概述(三)

群晖向阿里云OSS同步

Dragon lizard developer said: first time you got an electric shock, so you are such a dragon lizard community| Issue 8

初识云原生安全:云时代的最佳保障

Gatling performance test
随机推荐
Ti Xing Shu'an joined the dragon lizard community to jointly create a network security ecosystem
Goldfish rhca memoirs: do447 managing projects and conducting operations -- creating a project for ansible scripts
Promotion of Project Manager
Kotlin shared mutable state and concurrency
2022年质量员-设备方向-岗位技能(质量员)复训题库及在线模拟考试
Jerrys timer0 uses the default pa13 to detect the pulse width [chapter]
Jericho may have some chips with fast music playing speed [chapter]
数学之英文写作——基本中英文词汇(几何与三角的常用词汇)
kotlin 接口 泛型 协变 逆变
群晖向阿里云OSS同步
kotlin 关键字 扩展函数
Kotlin keyword extension function
Google waymo proposed r4d: remote distance estimation using reference target
js去除字符串空格
Kotlin coroutine context and scheduler
Vim 常用快捷键
OpenHarmony 1
The first open source MySQL HTAP database in China will be released soon, and the three highlights will be notified in advance
【5G NR】5G NR系统架构
**Puzzling little problem in unity - light and sky box