Properly overwriting RecyclerView animations
问题 I have a RecycleView in which a display a list of items. I specify the default animator to the RecyclerView like this: recyclerView.setItemAnimator( new DefaultItemAnimator() ); Everything works great, but I want to use my own custom animations for adding/removing/updating the elements in the list. I defined a custom animator class like this: public class MyAnimator extends RecyclerView.ItemAnimator { @Override public boolean animateDisappearance(@NonNull RecyclerView.ViewHolder viewHolder,