loadImageResource
suspend fun ImageLoader.loadImageResource(context: Context, data: Any?, configurer: ImageRequest.Builder.() -> Unit = {}): ResourceBuilders.ImageResource?
Load an ImageResource 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.