Package coil

Types

ComponentRegistry
Link copied to clipboard
class ComponentRegistry

Registry for all the components that an ImageLoader uses to fulfil image requests.

EventListener
Link copied to clipboard
interface EventListener : ImageRequest.Listener

A listener for tracking the progress of an image request. This class is useful for measuring analytics, performance, or other metrics tracking.

ImageLoader
Link copied to clipboard
interface ImageLoader

A service class that loads images by executing ImageRequests. Image loaders handle caching, data fetching, image decoding, request management, bitmap pooling, memory management, and more.

Functions

executeBlocking
Link copied to clipboard
fun ImageLoader.executeBlocking(request: ImageRequest): ImageResult

Execute the request and block the current thread until it completes.