🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

MutableRemoteString

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

Source set: Android
public class MutableRemoteString internal constructor(
    @get:Suppress("AutoBoxing") public override val constantValueOrNull: String?,
    cacheKey: RemoteStateCacheKey,
    private val lazyRemoteString: LazyRemoteString,
) : RemoteString(cacheKey), MutableRemoteState<String>

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

Members

Companion

Source set: Android
public companion object

Functions

invoke

Source set: Android
public operator fun invoke(initialValue: String): MutableRemoteString

Creates a new mutable state (allocates an ID).

Parameters

initialValue The initial value for the state.

Return

A new MutableRemoteString instance.

Content updated: