I want to remove all items at a time from my listView adapter. For that I am using m_adapter.clear() function. But after I m going out from the app, and when I again come back to it the listview again regenerated as usual. I need to clear them permanently,so that again I can add new views to it. Can any body suggest me anything on this?
Share
I guess you are not clearing the container of your
databy which you are populating theListView. You have to clear theArrayorArrayListwhatever container you are using to populate theListView.