In my project I need disable the \"change\" animation of RecyclerView while notifyItemChanged.
RecyclerView
notifyItemChanged
I investigated in the source of Recycl
Recycl
The easiest solution is to extend DefaultItemAnimator and set setSupportsChangeAnimations to false right in the constructor:
DefaultItemAnimator
setSupportsChangeAnimations
false
public class DefaultItemAnimatorNoChange extends DefaultItemAnimator { public DefaultItemAnimatorNoChange() { setSupportsChangeAnimations(false); } }