Function

splineBasedDecayDeprecated

Creates a DecayAnimationSpec using the native Android fling decay.

splineBasedDecayDeprecated

Source set: Android
@Deprecated("Moved to common code", level = DeprecationLevel.HIDDEN)
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
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: