The second Android 11 Developer Preview is now available, test it out and share your feedback.

OnAnimationEnd

typealias OnAnimationEnd = (endReason: AnimationEndReason, endValue: Float, remainingVelocity: Float) -> Unit
androidx.animation.OnAnimationEnd

Typealias for lambda that will be invoked when fling animation ends. Unlike AnimatedValue.animateTo onEnd, this lambda includes 3rd param remainingVelocity, that represents velocity that wasn't consumed after fling finishes.

Summary