---
title: "MutableRemoteImageBitmap"
description: "A mutable implementation of RemoteImageBitmap that holds its value in a MutableState<Bitmap>."
type: "class"
lastmod: "2026-06-18T10:32:53.142871Z"
---
## API Reference

> Source set: Android

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

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

## Companion Object

#### Methods

> Source set: Android

```kotlin
public operator fun invoke(initialValue: ImageBitmap): MutableRemoteImageBitmap
```

Creates a new mutable state (allocates an ID).

#### Parameters

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

#### Returns

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