Skip to content Skip to sidebar Skip to footer

Listview Doesn't Visually Update Its Content After Notifydatasetchanged

I have a static array of items which is set to a listview, that I might modify from another Activity (add some more items to it). So when I turn back to first activity, I have to r

Solution 1:

Solution was to set listview.invalidateViews() before changing Activity and as I return to first activity, notifying the adapter ends the purpose of it.


Post a Comment for "Listview Doesn't Visually Update Its Content After Notifydatasetchanged"