Re: [android-developers] removing all items of a listview

2010-03-22 Thread kavitha
Thanks MarkMurphy. But still i am not able to clear list items and populate with new items,,,new items get added up to old items. my code is this ArrayAdapter adapter; ArrayList results=new ArrayList(); private void populateStationsList(RadioStation[] radioStation){ results.clea

Re: [android-developers] removing all items of a listview

2010-03-19 Thread Mark Murphy
kavitha wrote: > Hi All, > > How to remove all Items in a ListView in android. > > I want to remove all items in list view and populate with new items > dynamically from a background thread. > > Please tell,,this is very urgent. Replace the adapter used by the ListView. -- Mark Murphy (a Comm

[android-developers] removing all items of a listview

2010-03-19 Thread kavitha
Hi All, How to remove all Items in a ListView in android. I want to remove all items in list view and populate with new items dynamically from a background thread. Please tell,,this is very urgent. Thanks Kavitha -- You received this message because you are subscribed to the Google Groups "An