class MutableRemoteLong : RemoteLong, MutableRemoteState


A mutable implementation of RemoteLong.

Summary

Public companion functions

MutableRemoteLong
createMutable(initialValue: Long)

Creates a new mutable state (allocates an ID).

Public functions

open String

Public properties

open Long?

A nullable value if this MutableRemoteLong is constant.

Inherited properties

From androidx.compose.remote.creation.compose.state.RemoteState
open Long

The constant value held by this state.

open Boolean

Whether or not this remote state evaluates to a constant value.

Public companion functions

createMutable

Added in 1.0.0-alpha06
fun createMutable(initialValue: Long): MutableRemoteLong

Creates a new mutable state (allocates an ID).

Parameters
initialValue: Long

The initial value for the state.

Returns
MutableRemoteLong

A new MutableRemoteLong instance.

Public functions

toString

open fun toString(): String

Public properties

constantValueOrNull

open val constantValueOrNullLong?

A nullable value if this MutableRemoteLong is constant.