rememberNetworkLoader

fun rememberNetworkLoader(httpClient: HttpClient = HttpClient(), requestBuilder: HttpRequestBuilder = HttpRequestBuilder()): NetworkLoader

Create and remember a ImageBitmapLoader that loads ImageBitmaps from a Url.

You must import the Ktor client library to use this loader.

Parameters

httpClient

The HttpClient to use for loading the ImageBitmap.

requestBuilder

The HttpRequestBuilder to use for loading the ImageBitmap.