I am working on android app in which I am using adapters to populate the data in a listview. I am confused where we should use BaseAdapter
. I read many questions where it is written that we should use ArrayAdapter
for arrays and arraylist that is ok and CursorAdapter
in case of cursor.
I know BaseAdapter
is the super class of ArrayAdapter
and CursorAdapter
. I have checked already this question What is the difference between ArrayAdapter , BaseAdapter and ListAdapter but it don't explain when we should use BaseAdapter
.
When should I use BaseAdapter
?