class MutableRemoteBitmap : RemoteBitmap, MutableRemoteState


A mutable implementation of RemoteBitmap that holds its value in a MutableState.

Summary

Public companion functions

MutableRemoteBitmap
createMutable(initialValue: ImageBitmap)

Creates a new mutable state (allocates an ID).

Inherited properties

From androidx.compose.remote.creation.compose.state.RemoteBitmap
open ImageBitmap?

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

RemoteFloat

The height of the bitmap as represented in the remote document.

RemoteFloat

The width of the bitmap as represented in the remote document.

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

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: ImageBitmap): MutableRemoteBitmap

Creates a new mutable state (allocates an ID).

Parameters
initialValue: ImageBitmap

The initial value for the state.

Returns
MutableRemoteBitmap

A new MutableRemoteBitmap instance.