Avoiding re-drawing all views in an ArrayAdapter

I have ArrayAdapterfood a ListView. I would like to change the data for ArrayAdapterand update ListView. It seems to notifyDataSetChanged();be exactly what I'm looking for, but it updates the whole ListView, and I would rather update it in turn.

Is there a way to do this using ArrayAdapter, or do I need to manage my data in some other way if I want this function?

+3
source share
1 answer

This does not work as far as I know.

. , . , () , Android , , , . (convertView) ListAdapter.getView() .

, Android , .

+5

Source: https://habr.com/ru/post/1738429/


All Articles