{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

FloatState

@<Error class: unknown class>
public interface FloatState extends State

Known direct subclasses
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.


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.

See also
MutableFloatState
mutableDoubleStateOf

Summary

Public methods

abstract float
default float
@AutoboxingStateValueProperty(preferredPropertyName = "floatValue")
getValue()

Extension functions

default final float
SnapshotFloatStateKt.getValue(
    @NonNull FloatState receiver,
    Object thisObj,
    @NonNull KProperty<@NonNull ?> property
)

Permits property delegation of vals using by for FloatState.

Public methods

getFloatValue

abstract float getFloatValue()

getValue

@AutoboxingStateValueProperty(preferredPropertyName = "floatValue")
default float getValue()

Extension functions

SnapshotFloatStateKt.getValue

default final float SnapshotFloatStateKt.getValue(
    @NonNull FloatState receiver,
    Object thisObj,
    @NonNull KProperty<@NonNull ?> property
)

Permits property delegation of vals using by for FloatState.