【Android】【GreenDAO】GreenDAO使用教程
装载自:https://blog.****.net/xu_song/article/details/78673245
使用方法总结:
1. 引用插件依赖,开启插件,引用库依赖,gradle中设置数据库版本号
2. 创建Bean实体类,Rebuild Project,插件自动生成Bean的Getter,Setter方法和Dao类
3. 在Application中初始化GreenDAO会话
4. 通过Session和Dao类操作数据库
5. 具体操作可以以后实践过程中边用边学