I had an adapter that was no updating properly when I called

myAdapter.notifyDataSetChanged()

This causes much headache an finally I tried

cursor.requery(); //This is the cursor on which myAdapter is connected
to
myAdapter.notifyDataSetChanged();


My Question is - Why do I need to run requery()? I thought that
notifyDataSetChanged() would automatically update the cursor for us!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to