如何在swapCursor函数中实现RecyclerViewDefaultItemAdd/RemoveAnimations。notifyDataSetChanged()不会显示任何动画。publicvoidswapCursor(CursornewCursor){mCursor=newCursor;notifyDataSetChanged();} 最佳答案 只需在Activity中设置以下内容,recyclerView.setHasFixedSize(true);然后在适配器中,写setHasStableIds(true);//inc