As described in the ContentResolver chapter of the Development Guide:
http://developer.android.com/guide/topics/providers/content-providers.html

"As a courtesy, you might also want to call
ContentResolver.notifyChange() to notify listeners when there are
modifications to the data."



On Dec 2, 6:35 pm, silverburgh <[email protected]> wrote:
> Hi,
>
> I am writing my own ContentProvider for my own application. And there
> is a ListView with a CursorAdapter pulling data from my Content
> Provider.  My question is when there is a data change in my
> ContentProvider, how can I notify my CursorAdatper to requery the data
> and  then have the ListView updated?
>
> Thank you.

-- 
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