In the sample code of android developer
http://developer.android.com/reference/android/content/ContentProvider.html

When query the content provider, the cursor in query () call
setNotificationUri(getContext().getContentResolver(), uri).

But the query is a read-data action, it doesn't need to notify uri
because the database can't update when being read. is there any
propose to avoid some problem adding setNotificationUri in the query
function of content provider?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to