@Override
        public boolean canReuseUpdatedViewHolder(RecyclerView.ViewHolder viewHolder) {
            // This allows our custom change animation on the contents of the holder instead
            // of the default behavior of replacing the viewHolder entirely
            return true;
        }
Custom ItemAnimator that handles change animations. The default animator simple cross-
fades the old and new ViewHolder items. Our custom animation re-uses the same
ViewHolder and animates the contents of the views that it contains. The animation
consists of a color fade through black and a text rotation. The animation also handles
interruption, when a new change event happens on an item that is currently being
animated.
RecyclerViewAnimations/app/src/main/java/examples/android/com/recyclerviewanimations/MainActivity.java