On Thu, Aug 4, 2011 at 2:25 AM, Droid <[email protected]> wrote:
> I have a listview that gets its text from an asnyc internet task. But
> on orientation change it loses its text and cannot retrieve a new lot.
> Any idea? Looks like it gets data but cannot get it through the array
> adapter or something similar.
>

You can fix this in two steps:

1. Debug your code to find what's wrong. Your activity should
properly get and display the data when recreated. If you need
any help with this, you need to be a lot more specific then
'looks like'.

2. Have your activity save/restore the data properly, so it doesn't
need to fetch it every time you flip the phone.

-- 
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

Reply via email to