Interface

MutableLongState

A value holder where reads to the longValue property during the execution of a Composable function cause the current RecomposeScope to subscribe to changes of that value.

Source set: Common
public interface MutableLongState : LongState, MutableState<Long>

A value holder where reads to the longValue property during the execution of a Composable function cause the current RecomposeScope to subscribe to changes of that value. When the longValue property is written to and changed, a recomposition of any subscribed RecomposeScopes will be scheduled. If longValue is written to with the same value, no recompositions will be scheduled.

Properties

value

Source set: Common
override var value: Long

longValue

Source set: Common
override var longValue: Long
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: