The Developer Preview for Android 11 is now available; test it out and share your feedback.

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

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

abstract T

Properties

value

abstract val value: T