Class

TransitionState

Use with rememberTransition to create a Transition that can be dynamically targeted with MutableTransitionState or seekable with SeekableTransitionState.

Source set: Common
public sealed class TransitionState<S>

Use with rememberTransition to create a Transition that can be dynamically targeted with MutableTransitionState or seekable with SeekableTransitionState.

Properties

currentState

Source set: Common
public abstract var currentState: S

Current state of the transition. If there is an active transition, currentState and targetState are different.

targetState

Source set: Common
public abstract var targetState: S

Target state of the transition. If this is the same as currentState, no transition is active.

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: