Android 12 Developer Preview is here! Try it out, and give us your feedback!

Composer

interface Composer
androidx.compose.runtime.Composer

Composer is the interface that is targeted by the Compose Kotlin compiler plugin and used by code generation helpers. It is highly recommended that direct calls these be avoided as the runtime assumes that the calls are generated by the compiler and contain only a minimum amount of state validation.

Summary

Public methods
abstract Unit
apply(value: V, block: T.(V) -> Unit)

A Compose compiler plugin API.

abstract CompositionContext

A Compose internal function.

abstract Boolean
changed(value: Any?)

A Compose compiler plugin API.

open Boolean
changed(value: Boolean)

A Compose compiler plugin API.

open Boolean
changed(value: Char)

A Compose compiler plugin API.

open Boolean
changed(value: Byte)

A Compose compiler plugin API.

open Boolean
changed(value: Short)

A Compose compiler plugin API.

open Boolean
changed(value: Int)

A Compose compiler plugin API.

open Boolean
changed(value: Float)

A Compose compiler plugin API.

open Boolean
changed(value: Long)

A Compose compiler plugin API.

open Boolean
changed(value: Double)

A Compose compiler plugin API.

abstract Unit

A Compose internal function.

abstract T

A Compose internal function.

abstract Unit
createNode(factory: () -> T)

A Compose compiler plugin API.

abstract Unit

A Compose compiler plugin API.

abstract Unit

A Compose compiler plugin API.

abstract Unit

A Compose compiler plugin API.

abstract Unit

A Compose internal function.

abstract Unit

A Compose compiler plugin API.

abstract ScopeUpdateScope?

A Compose compiler plugin API.

abstract Any
joinKey(left: Any?, right: Any?)

A Compose compiler plugin API.

abstract Unit
recordReadOf(value: Any)

A Compose internal function.

abstract Unit
recordSideEffect(effect: () -> Unit)

A Compose internal function.

abstract Unit

A Compose compiler plugin API.

abstract Unit

A Compose internal function.

abstract Any?

A Compose compiler plugin API.

abstract Unit

A Compose compiler plugin API.

abstract Unit

A Compose compiler plugin API.

abstract Unit

A Compose compiler plugin API.

abstract Unit
startMovableGroup(key: Int, dataKey: Any?)

A Compose compiler plugin API.

abstract Unit
startMovableGroup(key: Int, dataKey: Any?, sourceInformation: String?)

A Compose compiler plugin API.

abstract Unit

A Compose compiler plugin API.

abstract Unit

A Compose internal function.

abstract Unit

A Compose compiler plugin API.

abstract Unit