Package androidx. compose. runtime
Types
AbstractApplier
Link copied to clipboard
AtomicReference
Link copied to clipboard
CheckResult
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER ] )
Content copied to clipboard
CommitScope
Link copied to clipboard
interface CommitScope
Content copied to clipboard
Composable
Link copied to clipboard
Composable functions are the fundamental building blocks of an application built with Compose.
ComposableContract
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.TYPE ] )
Content copied to clipboard
This annotation can be applied to Composable functions and provide metadata to the compiler that imply compose-specific contracts that the author of the function is guaranteeing the function complies with.
ComposeCompilerApi
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.TYPEALIAS ] )
Content copied to clipboard
Composition
Link copied to clipboard
interface Composition
Content copied to clipboard
CompositionData
Link copied to clipboard
interface CompositionData
Content copied to clipboard
A CompositionData is the data tracked by the composer during composition.
CompositionGroup
Link copied to clipboard
CompositionLifecycleObserver
Link copied to clipboard
interface CompositionLifecycleObserver
Content copied to clipboard
CompositionReference
Link copied to clipboard
abstract class CompositionReference
Content copied to clipboard
A CompositionReference is an opaque type that is used to logically "link" two compositions together.
DisposableEffectDisposable
Link copied to clipboard
interface DisposableEffectDisposable
Content copied to clipboard
DisposableEffectScope
Link copied to clipboard
class DisposableEffectScope
Content copied to clipboard
Receiver scope for DisposableEffect that offers the onDispose clause that should be the last statement in any call to DisposableEffect.
EmbeddingContext
Link copied to clipboard
interface EmbeddingContext
Content copied to clipboard
ExperimentalComposeApi
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY ] )
Content copied to clipboard
FrameManager
Link copied to clipboard
object FrameManager
Content copied to clipboard
Immutable
Link copied to clipboard
Immutable can be used to mark class as producing immutable instances.
InternalComposeApi
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY ] )
Content copied to clipboard
MainThread
Link copied to clipboard
annotation class MainThread
Content copied to clipboard
MutableState
Link copied to clipboard
A mutable value holder where reads to the value property during the execution of a Composable function, the current RecomposeScope will be subscribed to changes of that value.
NoLiveLiterals
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.CLASS, AnnotationTarget.FILE ] )
Content copied to clipboard
ProduceStateScope
Link copied to clipboard
ProvidableAmbient
Link copied to clipboard
ProvidedValue
Link copied to clipboard
An instance to hold a value provided by Providers and is created by the ProvidableAmbient.provides infixed operator.
Recomposer
Link copied to clipboard
class Recomposer(effectCoroutineContext: CoroutineContext) : CompositionReference
Content copied to clipboard
The scheduler for performing recomposition and applying updates to one or more Compositions.
ScopeUpdateScope
Link copied to clipboard
interface ScopeUpdateScope
Content copied to clipboard
SkippableUpdater
Link copied to clipboard
SnapshotMutationPolicy
Link copied to clipboard
Stable
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY ] )
@StableMarker()
Content copied to clipboard
StableMarker
Link copied to clipboard
StableMarker marks an annotation as indicating a type is stable.
WeakHashMap
Link copied to clipboard
Functions
ambientOf
Link copied to clipboard
fun <T> ambientOf(policy: SnapshotMutationPolicy<T> = @OptIn(ExperimentalComposeApi::class)
structuralEqualityPolicy(), defaultFactory: () -> T? = null): ProvidableAmbient<T>
Content copied to clipboard
Create an ambient key that can be provided using Providers.
clearRoots
Link copied to clipboard
collectAsState
Link copied to clipboard
@ExperimentalCoroutinesApi()
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
compositionFor
Link copied to clipboard
fun compositionFor(key: Any, applier: Applier<*>, parent: CompositionReference, onCreated: () -> Unit = {}): Composition
Content copied to clipboard
compositionReference
Link copied to clipboard
derivedStateOf
Link copied to clipboard
DisposableEffect
Link copied to clipboard
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
A side effect of composition that must run for any new unique value of subject and must be reversed or cleaned up if subject changes or if the DisposableEffect leaves the composition.
@Composable()
Content copied to clipboard
A side effect of composition that must run for any new unique value of subjects and must be reversed or cleaned up if any subjects change or if the DisposableEffect leaves the composition.
@Composable()
Content copied to clipboard
A side effect of composition that must run for any new unique value of subject1 or subject2 and must be reversed or cleaned up if subject1 or subject2 changes, or if the DisposableEffect leaves the composition.
@Composable()
Content copied to clipboard
A side effect of composition that must run for any new unique value of subject1, subject2 or subject3 and must be reversed or cleaned up if subject1, subject2 or subject3 changes, or if the DisposableEffect leaves the composition.
EmbeddingContext
Link copied to clipboard
emit
Link copied to clipboard
emptyContent
Link copied to clipboard
isJoinedKey
Link copied to clipboard
joinedKeyLeft
Link copied to clipboard
joinedKeyRight
Link copied to clipboard
keySourceInfoOf
Link copied to clipboard
LaunchedEffect
Link copied to clipboard
@Composable()
Content copied to clipboard
When LaunchedEffect enters the composition it will launch block into the composition's CoroutineContext.
@Composable()
Content copied to clipboard
When LaunchedEffect enters the composition it will launch block into the composition's CoroutineContext.
@Composable()
Content copied to clipboard
When LaunchedEffect enters the composition it will launch block into the composition's CoroutineContext.
@Composable()
Content copied to clipboard
When LaunchedEffect enters the composition it will launch block into the composition's CoroutineContext.
@Composable()
Content copied to clipboard
When LaunchedEffect enters the composition it will launch block into the composition's CoroutineContext.
LaunchedTask
Link copied to clipboard
When LaunchedTask enters the composition it will launch block into the composition's CoroutineContext.
@Composable()
Content copied to clipboard
When LaunchedTask enters the composition it will launch block into the composition's CoroutineContext.
@Composable()
Content copied to clipboard
When LaunchedTask enters the composition it will launch block into the composition's CoroutineContext.
@Composable()
Content copied to clipboard
When LaunchedTask enters the composition it will launch block into the composition's CoroutineContext.
@Composable()
Content copied to clipboard
When LaunchedTask enters the composition it will launch block into the composition's CoroutineContext.
mutableStateListOf
Link copied to clipboard
mutableStateMapOf
Link copied to clipboard
fun <K, V> mutableStateMapOf(vararg pairs: Pair<K, V>): SnapshotStateMap<K, V>
Content copied to clipboard
mutableStateOf
Link copied to clipboard
fun <T> mutableStateOf(value: T, policy: SnapshotMutationPolicy<T> = structuralEqualityPolicy()): MutableState<T>
Content copied to clipboard
Return a new MutableState initialized with the passed in valueThe MutableState class is a single value holder whose reads and writes are observed by Compose.
neverEqualPolicy
Link copied to clipboard
onActive
Link copied to clipboard
onCommit
Link copied to clipboard
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
onDispose
Link copied to clipboard
produceState
Link copied to clipboard
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
@Composable()
Content copied to clipboard
Providers
Link copied to clipboard
@Composable()
Content copied to clipboard
referentialEqualityPolicy
Link copied to clipboard
remember
Link copied to clipboard
rememberCoroutineScope
Link copied to clipboard
@Composable()
Content copied to clipboard
Return a CoroutineScope bound to this point in the composition using the optional CoroutineContext provided by getContext.
rememberUpdatedState
Link copied to clipboard
remember a mutableStateOf and update its value to newValue on each recomposition of the rememberUpdatedState call.
resetSourceInfo
Link copied to clipboard
fun resetSourceInfo()
Content copied to clipboard
setValue
Link copied to clipboard
SideEffect
Link copied to clipboard
simulateHotReload
Link copied to clipboard
staticAmbientOf
Link copied to clipboard
fun <T> staticAmbientOf(defaultFactory: () -> T? = null): ProvidableAmbient<T>
Content copied to clipboard
Create an ambient key that can be provided using Providers.
structuralEqualityPolicy
Link copied to clipboard
toMutableStateList
Link copied to clipboard
toMutableStateMap
Link copied to clipboard
fun <K, V> Iterable<Pair<K, V>>.toMutableStateMap(): SnapshotStateMap<K, V>
Content copied to clipboard
withRunningRecomposer
Link copied to clipboard
suspend fun <R> withRunningRecomposer(block: suspend CoroutineScope.(recomposer: Recomposer) -> R): R
Content copied to clipboard
Properties
currentComposer
Link copied to clipboard
invalidate
Link copied to clipboard
An Effect to get the nearest invalidation lambda to the current point of composition.
yoloGlobalEmbeddingContext
Link copied to clipboard