Class

VectorizedSnapSpec

VectorizedSnapSpec immediately snaps the animating value to the end value.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
public class VectorizedSnapSpec<V : AnimationVector>(override val delayMillis: Int = 0) :
    VectorizedDurationBasedAnimationSpec<V>

VectorizedSnapSpec immediately snaps the animating value to the end value.

Parameters

delayMillis the amount of time (in milliseconds) that the animation should wait before it starts. Defaults to 0.