I have a ListView. I want to dynamically change the contents of the listview.I used \"adapter.notifyDataSetChanged();\" to change the contents. I have also tried setting the ada
If you use an ArrayAdapter instead of a SimpleAdapter you can call
ArrayAdapter
SimpleAdapter
ArrayAdapter.clear(); ArrayAdapter.notifyDataSetChanged();
To remove all the elements from the adapter.