ComposerUpdater

class ComposerUpdater<N, T : N>
kotlin.Any
   ↳ androidx.compose.ComposerUpdater

Summary

Public constructors

<init>(composer: Composer<N>, node: T)

Public methods

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<N>

T

Public constructors

<init>

ComposerUpdater(
    composer: Composer<N>,
    node: T)

Public methods

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<N>

node

val node: T