[done]notifyDataSetChanged() does not update ListActivity automatically

后端 未结 9 1747
甜味超标
甜味超标 2020-12-10 15:30

I\'ve got some troubles with notifyDataSetChanged() of a BaseAdapter. This method is called in refreshItems() and shall update the BaseAdapter of my ListActivity. On calling

9条回答
  •  [愿得一人]
    2020-12-10 16:31

    call AbsListView.invalidateViews() on your listview after BaseAdapter.notifyDataSetChanged()

提交回复
热议问题