我出现这个问题是引用资源文件问题
helper.getView(R.id.in_pic).setBackgroundResource(item.getResourceId()); //错的
helper.getView(R.id.in_pic).setBackground(getResources().getDrawable(item.getResourceId()));//对的
The content of the adapter has changed but ListView did not receive a notification. Make sure the co...
最新推荐文章于 2025-03-18 10:00:01 发布