class MutableRemoteString : RemoteString, MutableRemoteState


An implementation of RemoteString that holds its value in a MutableState.

Summary

Public companion functions

MutableRemoteString
createMutable(initialValue: String)

Creates a new mutable state (allocates an ID).

Public properties

open String?

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

Inherited properties

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

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-alpha05
fun createMutable(initialValue: String): MutableRemoteString

Creates a new mutable state (allocates an ID).

Parameters
initialValue: String

The initial value for the state.

Returns
MutableRemoteString

A new MutableRemoteString instance.

Public properties

constantValueOrNull

open val constantValueOrNullString?

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