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

DoubleState

public interface DoubleState extends State

Known direct subclasses
MutableDoubleState

A value holder where reads to the doubleValue 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 doubleValue property during the execution of a Composable function cause the current RecomposeScope to subscribe to changes of that value.

See also
MutableDoubleState
mutableDoubleStateOf

Summary

Public methods

abstract double
default double
@AutoboxingStateValueProperty(preferredPropertyName = "doubleValue")
getValue()

Extension functions

default final double
SnapshotDoubleStateKt.getValue(
    @NonNull DoubleState receiver,
    Object thisObj,
    @NonNull KProperty<@NonNull ?> property
)

Permits property delegation of vals using by for DoubleState.

Public methods

getDoubleValue

abstract double getDoubleValue()

getValue

@AutoboxingStateValueProperty(preferredPropertyName = "doubleValue")
default double getValue()

Extension functions

SnapshotDoubleStateKt.getValue

default final double SnapshotDoubleStateKt.getValue(
    @NonNull DoubleState receiver,
    Object thisObj,
    @NonNull KProperty<@NonNull ?> property
)

Permits property delegation of vals using by for DoubleState.