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.
ArrayAdapter
ListView
notifyDataSetChanged();
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?
This does not work as far as I know.
. , . , () , Android , , , . (convertView) ListAdapter.getView() .
, Android , .
Source: https://habr.com/ru/post/1738429/More articles:Distance from the marine calculator, intermediate coordinates? - pythonAutomate gdb: show backtrace every 10 ms - profilingHow to change the effective user ID of a running program? - c ++Объединение документов Word (Office Interop &.NET), сохранение форматирования - vb.netHow to use links, avoid heading bloat and delay initialization? - c ++Treebeard Administrator in Django - djangoGood practice writing HTML with StringBuilder in my ASP.NET Codebehind code? - stringbuilderRails: when to use self - syntaxHow to remove duplicate vectors inside a multidimensional vector? - c ++How can I combine everything in a string until the second separator appears with a regular expression? - phpAll Articles