xger86x xger86x - 2 months ago 26
Android Question

Android notifyDataSetChanged

I have a list which is filled with a custom

ArrayAdapter
.

I want to update a progress bar every second, so I am trying to use
notifyDataSetChanged()
in order to repaint the list but it doesn't seem to work.

Answer

How are you updating the List data structure that is feeding ArrayAdapter?

Please see my answer here: notifyDataSetChanged example

for issues regarding ArrayAdapters and updating the List that holds data for notifyDataSetChanged to work.

Comments