Composable Function

rememberInfiniteTransition

Creates a InfiniteTransition that runs infinite child animations.

rememberInfiniteTransition

Source set: Common
@Composable
public fun rememberInfiniteTransition(label: String = "InfiniteTransition"): InfiniteTransition

Creates a InfiniteTransition that runs infinite child animations. Child animations can be added using InfiniteTransition.animateColor, InfiniteTransition.animateFloat, or InfiniteTransition.animateValue. Child animations will start running as soon as they enter the composition, and will not stop until they are removed from the composition.

Parameters

label A label for differentiating this animation from others in android studio.

rememberInfiniteTransition

Source set: Common
@Deprecated(
    "rememberInfiniteTransition APIs now have a new label parameter added.",
    level = DeprecationLevel.HIDDEN,
)
@Composable
public fun rememberInfiniteTransition(): InfiniteTransition
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: