Package coil

Types

Coil
Link copied to clipboard
object Coil
A class that holds the singleton ImageLoader instance.
ImageLoaderFactory
Link copied to clipboard
fun fun interface ImageLoaderFactory
A factory that creates new ImageLoader instances.

Functions

dispose
Link copied to clipboard
inline fun ImageView.dispose()
Dispose the request that's attached to this view (if there is one).
load
Link copied to clipboard
inline fun ImageView.load(data: Any?, imageLoader: ImageLoader = context.imageLoader, builder: ImageRequest.Builder.() -> Unit = {}): Disposable
Load the image referenced by data and set it on this ImageView.

Properties

imageLoader
Link copied to clipboard
val Context.imageLoader: ImageLoader
Get the singleton ImageLoader.
result
Link copied to clipboard
val ImageView.result: ImageResult?
Get the ImageResult of the most recently executed image request that's attached to this view.