Why should I use custom content provider in Android?

允我心安 提交于 2019-12-05 12:37:23

Content providers can be used from other processes and are required by some mechanisms on Android like the global search. There are also some classes available that help you deal with content providers that save you some of the hassle of manging memory.

  • Other apps will be able to access your data.

  • You can wrap and abstract a lot of the query logic in your content provider, and limit access.

  • You will be able to lean on the system to allow for things like managed queries.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!