In my project I need disable the \"change\" animation of RecyclerView while notifyItemChanged.
I investigated in the source of Recycl
I have found the correct solution to just remove the animateChange.
It's very simple. Google has implemented the functionality.
((SimpleItemAnimator) RecyclerView.getItemAnimator()).setSupportsChangeAnimations(false);
Documentation: setSupportsChangeAnimations
@Kenny answer didn't work anymore because google remove method setSupportsChangeAnimations() (but why?) in support library 23.1.0.
In some case setChangeDuration(0) can work as workaround.
@edit I suggest use something like that:
RecyclerView.ItemAnimator animator = recyclerView.getItemAnimator();
if (animator instanceof SimpleItemAnimator) {
((SimpleItemAnimator) animator).setSupportsChangeAnimations(false);
}