Coil

object Coil

A class that holds the singleton ImageLoader instance.

Functions

enqueue
Link copied to clipboard
fun enqueue(request: ImageRequest): Disposable
execute
Link copied to clipboard
suspend fun execute(request: ImageRequest): ImageResult
imageLoader
Link copied to clipboard
fun imageLoader(context: Context): ImageLoader
Get the singleton ImageLoader.
setImageLoader
Link copied to clipboard
fun setImageLoader(imageLoader: ImageLoader)
Set the singleton ImageLoader.
fun setImageLoader(factory: ImageLoaderFactory)
Set the ImageLoaderFactory that will be used to create the singleton ImageLoader.