Better to recreate listview adapter or to clear and repopulate?
问题 If I have a ListView with a CustomAdapter and let's say I have this refresh() method that refreshes the list with new results, should I: Call new CustomAdapter(...) upon initialization, and every time I call refresh() , I use adapter.clear() and adapter.add(...) Call new CustomAdapter(...) every time I call refresh() Basically, I'm asking, is it better to recreate an adapter everytime I load new results or is it better to clear the results in existing adapter and add the entire list to it?