MMC2 wrote:
> I am using a simplecursoradapter to access data in an sqlite database
> and display it in a listview. When I add an item to the database, how
> do I update the listview to include the new entry?  I have tried
> 'notifyDataSetChanged()' and 'requery()' and I have tried 'setAdapter'
> again but can't seem to get it to work. Help please?

requery() should work.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to