[done]notifyDataSetChanged() does not update ListActivity automatically

后端 未结 9 1766
甜味超标
甜味超标 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:19

    I think there may be some problems with the adapter; maybe it's not set.

    In my experience, there was always some kind of reason which prevented the listview (and adapter) to update.

提交回复
热议问题