HorizontalMovementSpringAnimation

class HorizontalMovementSpringAnimation(view: View, fadingEnabled: Boolean) : MovementSpringAnimation

Inherited functions

Link copied to clipboard
fun animateToPosition(positionPx: Float, velocityPxPerSec: Float? = null, animationRange: ClosedFloatingPointRange<Float>? = null, endListener: (canceled: Boolean) -> Unit? = null)

Performs an animation to move a view to positionPx with velocityPxPerSec.