Composable Function

animateFloat

Creates an animation of Float type that runs infinitely as a part of the given InfiniteTransition.

InfiniteTransitionSample

@Sampled
@Composable
fun InfiniteTransitionSample() {

AnimateFloatSample

@Sampled
@Composable
fun AnimateFloatSample() {
    // enum class ButtonStatus {Initial, Pressed, Released}
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: