I have a spinner and a listview in the same Activity. The listview is loaded with a list of items. i want when user clicks on the item from spinner the listview will be clear and new listview will load according to item chooses in spinner
setListAdapter(new ArrayAdapter<String>(this, R.layout.listviewxml, video));
ListView lv=getListView();
lv.setTextFilterEnabled(true);

Please tell how to do this?
i am not able to clear the listview
If you have passed a List or an Array to the Adapter, then
(These codes are like pseudo code, your syntax may vary)