Package coil.compose

Types

ImageLoaderProvidableCompositionLocal
Link copied to clipboard
value class ImageLoaderProvidableCompositionLocal

Functions

rememberImagePainter
Link copied to clipboard
@Composable()
inline fun rememberImagePainter(request: ImageRequest, onExecute: ImagePainter.ExecuteCallback = ExecuteCallback.Default): ImagePainter
Return an ImagePainter that will execute the request using LocalImageLoader.
@Composable()
inline fun rememberImagePainter(data: Any?, onExecute: ImagePainter.ExecuteCallback = ExecuteCallback.Default, builder: ImageRequest.Builder.() -> Unit = {}): ImagePainter
Return an ImagePainter that will execute an ImageRequest using LocalImageLoader.

Properties

LocalImageLoader
Link copied to clipboard
A pseudo-CompositionLocal that returns the current ImageLoader for the composition.