I had the exact same setup in my app (multiple tabs using the same ListView
and had the same issue as you observed). My initial work-around was to
quickly switch the tab to 1 and then back to 0 but, the way my app handled
tab changes, this has some nasty side-effects. What I ended up doing
instead is toggling the visibility of the ListView in onStart():
mListView.setVisibility(View.GONE);
mListView.setVisibility(View.VISIBLE);
and that took care of my problem.
Good luck,
bob
--
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