【发布时间】:2014-04-26 18:29:05
【问题描述】:
我使用 listview 显示名为 numberlist 的 ArrayList 的内容,但有时会发生此异常 The content of the adapter has changed but ListView did not receive a notification 我使用 adapter.notifyDataSetChanged(); 但仍然遇到同样的问题,知道吗?
AsyncTask 的 onPostExecute:
adapter = new ListViewAdapter(getActivity(), numberlist);
listview.setAdapter(adapter);
【问题讨论】: