Google is committed to advancing racial equity for Black communities. See how.

Updater

class Updater<T>
kotlin.Any
   ↳ androidx.compose.runtime.Updater

Summary

Public constructors
<init>(composer: Composer<*>, node: T)

Public methods
Unit
reconcile(block: T.() -> Unit)

Unit
set(value: Int, block: T.(value: Int) -> Unit)

Unit
set(value: V, block: T.(value: V) -> Unit)

Unit
update(value: Int, block: T.(value: Int) -> Unit)

Unit
update(value: V, block: T.(value: V) -> Unit)

Properties
Composer<*>

T

Public constructors

<init>

Updater(
    composer: Composer<*>,
    node: T)

Public methods

reconcile

inline fun reconcile(block: T.() -> Unit): Unit

set

inline fun set(
    value: Int,
    block: T.(value: Int) -> Unit
): Unit

set

inline fun <reified V> set(
    value: V,
    block: T.(value: V) -> Unit
): Unit

update

inline fun update(
    value: Int,
    block: T.(value: Int) -> Unit
): Unit

update

inline fun <reified V> update(
    value: V,
    block: T.(value: V) -> Unit
): Unit

Properties

composer

val composer: Composer<*>

node

val node: T