📅  最后修改于: 2022-03-11 14:57:11.581000             🧑  作者: Mango
private void removeItem(int position) {
int newPosition = holder.getAdapterPosition();
model.remove(newPosition);
notifyItemRemoved(newPosition);
notifyItemRangeChanged(newPosition, model.size());
}