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

State

@Stable interface State<T>
androidx.compose.State

A 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.

Summary

Extension functions
From androidx.compose
operator T
State<T>.getValue(thisObj: Any?, property: KProperty<*>)

Permits property delegation of vals using by for State.

Properties
abstract T

Properties

value

abstract val value: T