setAnimationDuration

open fun setAnimationDuration(animationDurationMs: Long)

Sets the length of the animation in milliseconds. The default duration is 300 milliseconds.

Parameters

animationDurationMs

long: The length of the animation, in milliseconds. This value cannot be negative.