Compose Runtime API Reference
Installation
implementation("androidx.compose.runtime:runtime:1.9.0-beta02")
Composable Functions
- ComposeNode
- CompositionLocalProvider
- DisposableEffect
- LaunchedEffect
- ReusableComposeNode
- ReusableContent
- ReusableContentHost
- SideEffect
- collectAsState
- key
- produceState
- remember
- rememberComposableLambda
- rememberComposableLambdaN
- rememberCompositionContext
- rememberCoroutineScope
- rememberUpdatedState
Classes
- AbstractApplier
- AutoboxingStateValueProperty
- BroadcastFrameClock
- Composable
- ComposableMethod
- ComposableOpenTarget
- ComposableTarget
- ComposableTargetMarker
- ComposeCompilerApi
- ComposeToolingApi
- CompositeKeyHashCode
- CompositionContext
- CompositionLocal
- CompositionLocalContext
- Decoy
- DecoyImplementation
- DisallowComposableCalls
- DisposableEffectScope
- DontMemoize
- ExperimentalComposeApi
- ExperimentalComposeRuntimeApi
- ExplicitGroupsComposable
- FunctionKeyMeta
- FunctionKeyMetaClass
- InternalComposeApi
- InternalComposeTracingApi
- LiveLiteralFileInfo
- LiveLiteralInfo
- LocationSourceInformation
- MutableSnapshot
- MutableVector
- NoLiveLiterals
- NonRestartableComposable
- NonSkippableComposable
- ParameterSourceInformation
- PausableMonotonicFrameClock
- ProvidableCompositionLocal
- ProvidedValue
- ReadOnlyComposable
- Recomposer
- SkippableUpdater
- Snapshot
- SnapshotApplyConflictException
- SnapshotApplyResult
- SnapshotId
- SnapshotIdArray
- SnapshotInstanceObservers
- SnapshotStateList
- SnapshotStateMap
- SnapshotStateObserver
- SnapshotStateSet
- SourceInformation
- StabilityInferred
- StateFactoryMarker
- StateRecord
- TestOnly
- Updater
Interfaces
- Applier
- ComposableLambda
- ComposableLambdaN
- ComposeNodeLifecycleCallback
- Composer
- Composition
- CompositionData
- CompositionErrorContext
- CompositionGroup
- CompositionInstance
- CompositionLocalAccessorScope
- CompositionLocalMap
- CompositionObserver
- CompositionObserverHandle
- CompositionRegistrationObserver
- CompositionServiceKey
- CompositionServices
- ControlledComposition
- DisposableEffectResult
- DoubleState
- FloatState
- IntState
- LongState
- MonotonicFrameClock
- MutableDoubleState
- MutableFloatState
- MutableIntState
- MutableLongState
- MutableState
- ObservableComposition
- ObserverHandle
- PausableComposition
- PausedComposition
- ProduceStateScope
- RecomposeScope
- RecomposerInfo
- RememberObserver
- ReusableComposition
- ScopeUpdateScope
- ShouldPauseCallback
- SnapshotContextElement
- SnapshotMutableState
- SnapshotMutationPolicy
- SnapshotObserver
- State
- StateObject
Properties
- DefaultMonotonicFrameClock
- EmptyCompositeKeyHashCode
- LocalCompositionErrorContext
- LocalInspectionTables
- currentComposer
- currentCompositeKeyHash
- currentCompositeKeyHashCode
- currentCompositionContext
- currentCompositionLocalContext
- currentRecomposeScope
- isLiveLiteralsEnabled
- monotonicFrameClock
- recomposeCoroutineContext
Functions
- asComposableMethod
- asContextElement
- asDoubleState
- asFloatState
- asIntState
- asLongState
- cache
- clearCompositionErrors
- composableLambda
- composableLambdaInstance
- composableLambdaN
- composableLambdaNInstance
- Composition
- compositionLocalOf
- compositionLocalWithComputedDefaultOf
- ControlledComposition
- currentCompositionErrors
- derivedStateOf
- disableHotReloadMode
- findCompositionInstance
- getDeclaredComposableMethod
- getValue
- identityHashCode
- illegalDecoyCallException
- invalidateGroupsWithKey
- isTraceInProgress
- movableContentOf
- movableContentWithReceiverOf
- mutableDoubleStateOf
- mutableFloatStateOf
- mutableIntStateOf
- mutableLongStateOf
- mutableStateListOf
- mutableStateMapOf
- mutableStateOf
- mutableStateSetOf
- MutableVector
- mutableVectorOf
- neverEqualPolicy
- observe
- observeSnapshots
- parseSourceInformation
- PausableComposition
- readable
- referentialEqualityPolicy
- ReusableComposition
- setObserver
- setValue
- simulateHotReload
- snapshotFlow
- SnapshotStateList
- sourceInformation
- sourceInformationMarkerEnd
- sourceInformationMarkerStart
- staticCompositionLocalOf
- structuralEqualityPolicy
- toInt
- toLong
- toMutableStateList
- toMutableStateMap
- toString
- traceEventEnd
- traceEventStart
- withCurrent
- withFrameMillis
- withFrameNanos
- withRunningRecomposer
- writable