loadImage
suspend fun ImageLoader.loadImage(context: Context, data: Any?, configurer: ImageRequest.Builder.() -> Unit = {}): Bitmap?
Load a Bitmap from a CoilImage loader.
Parameters
context
the context of the service or activity.
data
the image to fetch in one of the support Coil formats such as String, HttpUrl.
configurer
any additional configuration of the ImageRequest being built.