本文介绍了如何使用GreenDao 3生成内容提供商?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在GreenDao 2.x中,有一种名为Entity.addContentProvider()
的方法可以为实体生成ContentProvider.
In GreenDao 2.x., there was a method called Entity.addContentProvider()
which generated a ContentProvider for an entity.
如何在GreenDao 3.x中执行相同的操作?
How to do the same in GreenDao 3.x?
推荐答案
使用相同的方法Entity.addContentProvider(),我可以在GreenDao 3中生成内容提供程序.
With the same method Entity.addContentProvider() I am able to generate the content provider in GreenDao 3.
这篇关于如何使用GreenDao 3生成内容提供商?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!