[android-beginners] Re: how to update a listview

2009-08-21 Thread Yusuf Saib (T-Mobile USA)
What is the adapter class? For an ArrayAdapter, you don't need to call notifyDataSetChanged() unless you called setNotifyOnChange(false). Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-beginners] Re: how to update a listview

2009-08-21 Thread moazzamk
You have to change the data structure that stores the data for the listView and then call notifyDataSetChange(); Let;s say you are using and ArrayListString lst, you would do something like this: public void getRemoteData() { // .. get data and put it in the array list