<div class='sourceset sourceset-android'>Android</div>

```kotlin
public class MutableRemoteBitmap
internal constructor(
    constantValueOrNull: ImageBitmap?,
    cacheKey: RemoteStateCacheKey?,
    private val idProvider: (creationState: RemoteComposeCreationState) -> Int,
) : RemoteBitmap(constantValueOrNull), MutableRemoteState<ImageBitmap>
```

A mutable implementation of [RemoteBitmap](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/RemoteBitmap) that holds its value in a [MutableState<Bitmap>].

## Companion Object

#### Methods

<h2 id="createmutable-initialvalue">createMutable</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun createMutable(initialValue: ImageBitmap): MutableRemoteBitmap
```

Creates a new mutable state (allocates an ID).

#### Parameters

| | |
| --- | --- |
| initialValue | The initial value for the state. |

#### Returns

| | |
| --- | --- |
|  | A new [MutableRemoteBitmap](/jetpack-compose/androidx.compose.remote/remote-creation-compose/classes/MutableRemoteBitmap) instance. |