State

interface State<T>

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.

See also

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

value
Link copied to clipboard
common
abstract val value: T

Inheritors

MutableState
Link copied to clipboard

Extensions

getValue
Link copied to clipboard
common
inline operator fun <T> State<T>.getValue(thisObj: Any?, property: KProperty<*>): T
Permits property delegation of vals using by for State.