class MutableRemoteInt : RemoteInt, MutableRemoteState


A mutable implementation of RemoteInt.

Summary

Public companion functions

MutableRemoteInt
createMutable(initialValue: Int)

Creates a new mutable state (allocates an ID).

Inherited properties

From androidx.compose.remote.creation.compose.state.RemoteInt
open Int?

The constant value or null if there isn't one.

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

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-alpha07
fun createMutable(initialValue: Int): MutableRemoteInt

Creates a new mutable state (allocates an ID).

Parameters
initialValue: Int

The initial value for the state.

Returns
MutableRemoteInt

A new MutableRemoteInt instance.