Interface

MutableFloatState

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

Source set: Common
public interface MutableFloatState : FloatState, MutableState<Float>

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

Properties

value

Source set: Common
override var value: Float

floatValue

Source set: Common
override var floatValue: Float
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: