Hmm it seems i have missed some stuff, there is: public final void registerContentObserver(Uri uri, boolean notifyForDescendents, ContentObserver observer)
where notifyForDescendants specifies if this observer receives notifications for its descendant uris. I guess this is false for cursorAdapters as default though or i am making some other mistake. Going to decompile stuff and double check... On 7 Nisan, 15:03, wonderoid <[EMAIL PROTECTED]> wrote: > Let's say i update a certain note in a database and it has a uri like > the following: ".../notes/2". Now when i notify a change in this uri > using ContentResolver.notifyChange(uri....); is it only cursors > having a single item > " ../notes/2" that will be notified? If i have another cursor that > holds a query for all the notes in the provider ".../notes", (hence it > includes note 2 too), is this going to receive the notification? > Actually i have tried this and it does not seem to get any > notification, so am i doing something wrong or do i have to explicitly > notify that base uri too? (Using cursor adapters so content observers > exist) --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

