Builder
Constructors
Functions
Enables adding File.lastModified to the memory cache key when loading an image from a File.
Allow the use of Bitmap.Config.HARDWARE.
Allow automatically using Bitmap.Config.RGB_565 when an image is guaranteed to not have alpha.
Set the percentage of available memory to devote to this ImageLoader's memory cache and bitmap pool.
Set the preferred Bitmap.Config.
Enables counting references to bitmaps so they can be automatically reused by a BitmapPool when their reference count reaches zero.
Set the percentage of memory allocated to this ImageLoader to allocate to bitmap pooling.
Create a new ImageLoader instance.
Set a lazy callback to create the Call.Factory used for network requests.
Set the Call.Factory used for network requests.
Set the ComponentRegistry.
Build and set the ComponentRegistry.
Enable a crossfade animation with duration CrossfadeDrawable.DEFAULT_DURATION milliseconds when a request completes successfully.
Enable a crossfade animation with durationMillis milliseconds when a request completes successfully.
Set the default disk cache policy.
The default CoroutineDispatcher to run image requests on.
Set the default error drawable to use when a request fails.
Set the EventListener.Factory to create per-request EventListeners.
Set a single EventListener that will receive all callbacks for requests launched by this image loader.
Set the default fallback drawable to use if ImageRequest.data is null.
Enables launching the Interceptor chain on the main thread.
Set the MemoryCache. This also sets the BitmapPool to the instance used by this MemoryCache.
Set the default memory cache policy.
Set the default network cache policy.
Enables short circuiting network requests if the device is offline.
Set a lazy callback to create the OkHttpClient used for network requests.
Set the OkHttpClient used for network requests.
Set the default placeholder drawable to use when a request starts.
Enables weak reference tracking of loaded images.
Set the default Transition for each request.