I have a GridView using CustomAdapter, and I have an array list (size=20).
When I call adapter.notifyDataSetChanged();
- getView() is being called more times than it should (I understand that there is nothing to do about that). But I have a variable done==false on CustomAdapter class, and I want to change it to true once getView() is done working (after 20 times or even 50 times) ,
How can I control what comes once getView() is done?
I want to change this variable to true. Where should I place done=true?
*The last getView()call is not necessary position==19