1

clear a ListView in Android?

view story
linux-howto

http://stackoverflow.com – I get the first data from database and the listview will shown the data . At the moment, when the list is called more than once, the data is appended to the end of the list. Is there a way to clear the listview so that the new data is again at the top of the listView public class AndroidTestActivity extends Activity { JSONArray jArray; String result = null; InputStream is = null; StringBuilder sb=null; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button b1 = (Button) f (HowTos)