Tuesday, June 22, 2010

[android-developers] Re: notifyDataSetChanged() not updating listview after orientation change

After some work, I implemented Streets of Boston's code but I am still
running into the same problem. I created a new class that holds an
instance of my activity. I then send this object using
OnRetainNonConfigurationInstance, and use it in my Runnable to call
UpdateDisplay() just like he did. But still, no luck. My adapter is
getting the list of reminders, but it is not updating the view.

Any other suggestions that may help?

Bara

On Jun 22, 10:51 am, Gyan <gnanesh....@gmail.com> wrote:
> Classic problem!
>
> Use a static variable rather than onRetainConfigurationChange() lot of state
> data to be saved && doesn't work all the time!!
>
> Gyan

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate