setSupportsChangeAnimations

open fun setSupportsChangeAnimations(supportsChangeAnimations: Boolean)(source)

Sets whether this ItemAnimator supports animations of item change events. If you set this property to false, actions on the data set which change the contents of items will not be animated. What those animations do is left up to the discretion of the ItemAnimator subclass, in its animateChange implementation. The value of this property is true by default.

Parameters

supportsChangeAnimations

true if change animations are supported by this ItemAnimator, false otherwise. If the property is false, the ItemAnimator will not receive a call to animateChange when changes occur.

See also