class MutableRemoteInt : RemoteInt, MutableRemoteState


A mutable implementation of RemoteInt.

Summary

Public companion functions

operator MutableRemoteInt

Creates a new mutable state (allocates an ID).

Public constructors

Creates a MutableRemoteInt initialized with initialValue.

Inherited functions

From androidx.compose.remote.creation.compose.state.RemoteInt
RemoteBoolean

Returns a RemoteBoolean that evaluates to true if other is equal to the value of this RemoteInt or false otherwise.

RemoteBoolean

Returns a RemoteBoolean that evaluates to true if other is greater than the value of this RemoteInt or false otherwise.

RemoteBoolean

Returns a RemoteBoolean that evaluates to true if other is greater than or equal to the value of this RemoteInt or false otherwise.

RemoteBoolean

Returns a RemoteBoolean that evaluates to true if other is less than the value of this RemoteInt or false otherwise.

RemoteBoolean

Returns a RemoteBoolean that evaluates to true if other is less than or equal to the value of this RemoteInt or false otherwise.

RemoteBoolean

Returns a RemoteBoolean that evaluates to true if other is not equal to the value of this RemoteInt or false otherwise.

RemoteFloat

Converts this RemoteInt to a RemoteFloat.

RemoteLong

Converts this RemoteInt to a RemoteLong.

RemoteString

Converts this RemoteInt to a RemoteString using the specified format.

RemoteString

Converts this RemoteInt to a RemoteString using the specified format.

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

invoke

Added in 1.0.0-alpha21
@RememberInComposition
operator fun invoke(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.

Public constructors

MutableRemoteInt

Added in 1.0.0-alpha21
@RememberInComposition
MutableRemoteInt(initialValue: Int)

Creates a MutableRemoteInt initialized with initialValue.

Parameters
initialValue: Int

The initial Int value.