开发者

Push notification for content resolver from content provider

开发者 https://www.devze.com 2023-04-01 23:18 出处:网络
I want to know if there is a way to inform content resolver/s if the content provider change data. In my case there is an app that shows data base content. There is another app, that modifies data i

I want to know if there is a way to inform content resolver/s if the content provider change data.

In my case there is an app that shows data base content. There is another app, that modifies data in db. Now I want to know if it开发者_开发技巧's possible to notify the app via push that data has changed in background.

I do not found any information about content resolver connecting to content provider. Also I know no way to communicate between content provider and resolver the wrong way.

Do anybody now if its possible or has a better idea.


Have you tried using a ContentObserver?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号