The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make s

我出现这个问题是引用资源文件问题

helper.getView(R.id.in_pic).setBackgroundResource(item.getResourceId()); //错的
helper.getView(R.id.in_pic).setBackground(getResources().getDrawable(item.getResourceId()));//对的
posted @ 2018-05-24 11:55  dub  阅读(149)  评论(0编辑  收藏  举报