当前位置:网站首页>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
边栏推荐
- 一个团队可以既做项目又做产品吗?
- 位于相同的分布式端口组但不同主机上的虚拟机无法互相通信
- Prometheus pushgateway
- kotlin 数组、集合和 Map 的使用
- English writing of Mathematics -- Basic Chinese and English vocabulary (common vocabulary of geometry and trigonometry)
- SAP Marketing Cloud 功能概述(三)
- 详解kubernetes备份恢复利器 Velero | 深入了解Carina系列第三期
- Docker安装redis
- [5g NR] 5g NR system architecture
- 服务可见可观测性
猜你喜欢

快手实时数仓保障体系研发实践
![NPM package [details] (including NPM package development, release, installation, update, search, uninstall, view, version number update rules, package.json details, etc.)](/img/b0/85ac6274b239e42c9543fa296df456.png)
NPM package [details] (including NPM package development, release, installation, update, search, uninstall, view, version number update rules, package.json details, etc.)

龙蜥开发者说:首次触电,原来你是这样的龙蜥社区? | 第 8 期

One click to generate University, major and even admission probability. Is it so magical for AI to fill in volunteer cards?

These default routes and static routes can not be configured and deployed. What kind of network workers are they!
![Jerry's serial port receiving IO needs to set the digital function [chapter]](/img/04/48e7da42101a53827463d479952f67.png)
Jerry's serial port receiving IO needs to set the digital function [chapter]

万用表的使用方法

万用表测量电阻图解及使用注意事项

HarmonyOS.2

#21Set经典案例
随机推荐
AutoRF:从单视角观察中学习3D物体辐射场(CVPR 2022)
2022 recurrent training question bank and answers for hoisting signal Rigger (special type of construction work)
杰理之无缝循环播放【篇】
Eight major trends in the industrial Internet of things (iiot)
Vim 常用快捷键
2022起重信号司索工(建筑特殊工种)复训题库及答案
《中国数据库安全能力市场洞察,2022》报告研究正式启动
位于相同的分布式端口组但不同主机上的虚拟机无法互相通信
4个不可不知的“安全左移”的理由
源碼解析 Handler 面試寶典
Harmony os. (2)
Jericho may have some chips with fast music playing speed [chapter]
kotlin 异步流
Yyds dry goods counting solution sword finger offer: adjust the array order so that odd numbers precede even numbers (2)
SAP Marketing Cloud 功能概述(四)
2022年氟化工艺考试模拟100题及答案
返回新列表
Daily question 8-515 Find the maximum value in each tree row
常识知识点
npm包【详解】(内含npm包的开发、发布、安装、更新、搜索、卸载、查看、版本号更新规则、package.json详解等)