Composable Function

rememberNamedRemoteBitmap

Remembers a named remote bitmap expression.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

rememberNamedRemoteBitmap

Android
@Composable
public fun rememberNamedRemoteBitmap(
    name: String,
    domain: RemoteState.Domain = RemoteState.Domain.User,
    content: () -> ImageBitmap,
): RemoteBitmap

Remembers a named remote bitmap expression.

Parameters

name The unique name for this remote bitmap.
domain The domain of the named bitmap (defaults to RemoteState.Domain.User).
content A lambda that provides the RemoteBitmap expression.

Returns

A RemoteBitmap representing the named remote bitmap expression.

rememberNamedRemoteBitmap

Android
@Composable
public fun rememberNamedRemoteBitmap(
    name: String,
    url: String,
    domain: RemoteState.Domain = RemoteState.Domain.User,
): RemoteBitmap

A Composable function to remember and provide a named remote bitmap from a URL.