ImageLoader
A service class that loads images by executing ImageRequests. Image loaders handle caching, data fetching, image decoding, request management, memory management, and more.
Image loaders are designed to be shareable and work best when you create a single instance and share it throughout your app.
Properties
The components used to fulfil image requests.
The default values that are used to fill in unset ImageRequest values.
An in-memory cache of previously loaded images.
Functions
Enqueue the request to be executed asynchronously.
Execute the request in the current coroutine scope.
Execute the request and block the current thread until it completes.
Create an ImageLoader.Builder that shares the same resources and configuration as this image loader.
Cancel any new and in progress requests, clear the MemoryCache, and close any open system resources.