rememberStreamImagePainter
Wrapper around the coil.compose.rememberAsyncImagePainter that plugs in our LocalStreamImageLoader singleton that can be used to customize all image loading requests, like adding headers, interceptors and similar.
Return
The AsyncImagePainter that remembers the request and the image that we want to show.
Parameters
The data to load as a painter.
The painter used as a placeholder, while loading.
The painter used when the request fails.
The painter used as a fallback, in case the data is null.
Handler when the loading starts.
Handler when the request is successful.
Handler when the request fails.
The scaling model to use for the image.
The quality algorithm used when scaling the image.
Wrapper around the coil.compose.rememberAsyncImagePainter that plugs in our LocalStreamImageLoader singleton that can be used to customize all image loading requests, like adding headers, interceptors and similar.
Return
The AsyncImagePainter that remembers the request and the image that we want to show.
Parameters
The ImageRequest used to load the given image.
The painter used as a placeholder, while loading.
The painter used when the request fails.
The painter used as a fallback, in case the data is null.
Handler when the loading starts.
Handler when the request is successful.
Handler when the request fails.
The scaling model to use for the image.
The quality algorithm used when scaling the image.