Function

splineBasedDecayDeprecated

Creates a DecayAnimationSpec using the native Android fling decay.

splineBasedDecayDeprecated

Deprecated

Moved to common code

Source set: Android
public fun <T> splineBasedDecayDeprecated(density: Density): DecayAnimationSpec<T>

Creates a DecayAnimationSpec using the native Android fling decay. This can then be used to animate any type T.

Parameters

density density of the display

Last updated: