TransitionState

Known direct subclasses
MutableTransitionState

MutableTransitionState contains two fields: currentState and targetState.

SeekableTransitionState

A TransitionState that can manipulate the progress of the Transition by seeking with seekTo or animating with animateTo.


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

Summary

Protected constructors

<S : Any?> TransitionState()
Cmn

Public properties

abstract S

Current state of the transition.

Cmn
abstract S

Target state of the transition.

Cmn

Protected constructors

TransitionState

protected <S : Any?> TransitionState()

Public properties

currentState

abstract val currentState: S

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

targetState

abstract val targetState: S

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