you need to use notifyDataChanged on the list. On Wed, Feb 25, 2009 at 12:57 PM, ericsk <[email protected]> wrote:
> > Hi, > > I have a problem on TabActivity's invalidation. > There're few tabs in my TabActivity, and each tab binds a ListView. > Each Listview binds an ArrayAdapter that bound an ArrayList. > > While the TabChanged ( in onTabChanged handler ), I modify an > ArrayList with a thread. However, while the thread ends and the > ArrayList was also modified, the listview doesn't refresh its content > even if I call getTabHost().getCurrentTabView().invalidate(). > > Is there any suggestion on this problem? Thanks. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

