Refreshing ListActivity after updating SimpleAdapter data [closed]
-
13-12-2019 - |
Question
i failed to update views of an ActivityList after updating SimpleAdapter object that holds data ! SimpleAdapter don't have notifyDataSetChanged() method, and invalidateViews() is not working when I retrieve the listview from my ListActicity !!
Solution
Actually SimpleAdapter has notifyDataSetChanged
, since it inherits from BaseAdapter
here the doc
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow