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 functions

From androidx.compose.remote.creation.compose.state.RemoteString
RemoteString

Returns a RemoteString that evaluates to a lower case version of this RemoteString using the system default locale.

operator RemoteString

Concatenates this RemoteString with another RemoteString.

RemoteString

Returns a RemoteString that evaluates to the trimmed version of this this RemoteString where leading and trailing whitespace characters have been removed.

RemoteString

Returns a RemoteString that evaluates to a upper case version of this RemoteString using the system default locale.

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.

From androidx.compose.remote.creation.compose.state.RemoteString

Public companion functions

createMutable

Added in 1.0.0-alpha06
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.