getting changed uri on ContentObserver Onchange on older versions of the API [duplicate]

旧城冷巷雨未停 提交于 2019-12-10 20:13:46

问题


Possible Duplicate:
How to get URI of inserted row in my content observer?

I am using ContentObserver to listen to changes on a content provider. However, I was wondering if there is a way to get the changed URI when the OnChange method is called (instead of doing a search query inside the callback in order to find out what has changed).

It seem that this is possible with the API level 16, but I have to write an API 8 compliant application =S


回答1:


Well, later I found the same question posted in other places and still without an answer, which leads me to think that there is just no way to get the changed URI on older apis.



来源:https://stackoverflow.com/questions/12974215/getting-changed-uri-on-contentobserver-onchange-on-older-versions-of-the-api

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