You can just run the query again like this. cursor.requery()
On Apr 17, 12:16 pm, kingkung <[email protected]> wrote: > Hi all, > > I have ListView whose CursorAdapter is bound to my local database > table. Is there a good way to make it so that when new entries / new > data is inserted into my table, my ListView automatically refreshes? > > This is easily done on ContentProviders via ContentObservers. How do > I do the same when iterating over local databases? > > James --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

