AvatarImageLoaderInternal
An internal image loader to request image data with Coil.
Functions
Link copied to clipboard
suspend fun loadAsBitmap(context: Context, data: Any?, onSuccess: (request: ImageRequest, metadata: ImageResult.Metadata) -> Unit = { _, _ -> }, onError: (request: ImageRequest, throwable: Throwable) -> Unit = { _, _ -> }): Bitmap?
Content copied to clipboard
Request an image data and loads it as a Bitmap in a suspending operation.