删除item坑

mModels.remove(i);
notifyItemRemoved(i);
//必须调用这行代码
notifyItemRangeChanged(i, mModels.size());

 

相关文章: