I have a similar problem: I have BaseAdapter and a provider class that loads in background. When loading is finished I call notifyDatasetChanged/ notifyDataSetInvalidate but the view does not update.
I guess there is some bug in the SDK, but the strange thing is there is nothing similar reported so far. any hint ? On Jun 12, 11:42 am, sebster <[email protected]> wrote: > Hi, > > I have a ResourceCursorTreeAdapter which queries data from my > database. > > When I change the underlying data (i.e., delete a group), and then do > myAdapter.notifyDataSetChanged() the screen does not update. However > when I first do myAdapter.getCursor().requery(), the screen *does* > update. > > Anybody know why I have to manually requery? What is the proper way to > edit the database (i.e, delete items, rename items, etc), and have the > view updated in response? > > Regards, > Sebastiaan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

