Interface

VectorizedDurationBasedAnimationSpec

Base class for VectorizedAnimationSpecs that are based on a fixed durationMillis.

Source set: Common
public interface VectorizedDurationBasedAnimationSpec<V : AnimationVector> :
    VectorizedFiniteAnimationSpec<V>

Base class for VectorizedAnimationSpecs that are based on a fixed durationMillis.

Properties

durationMillis

Source set: Common
public val durationMillis: Int

duration is the amount of time while animation is not yet finished.

delayMillis

Source set: Common
public val delayMillis: Int

delay defines the amount of time that animation can be delayed.

Functions

getDurationNanos

Source set: Common
override fun getDurationNanos(initialValue: V, targetValue: V, initialVelocity: V): Long
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: