The second Android 11 Developer Preview 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

Properties

abstract T

Properties

value

abstract val value: T