In my app, if you click on a button then i want to remove all the listview items. Here, i am using the base adapter for adding the items to the list view.
How can i
use any one of the bellow options which suites your requirement
listview.removeViews(1,listview.getChildCount());
or
listview.removeViewInLayout(your view);