Builder
class Builder
Content copied to clipboard
Constructors
Functions
addLastModifiedToFileCacheKey
Link copied to clipboard
allowHardware
Link copied to clipboard
allowRgb565
Link copied to clipboard
availableMemoryPercentage
Link copied to clipboard
fun availableMemoryPercentage(@FloatRange(from = 0.0.toDouble(), to = 1.0.toDouble() ) percent: Double): ImageLoader.Builder
Content copied to clipboard
Set the percentage of available memory to devote to this ImageLoader's memory cache and bitmap pool.
bitmapConfig
Link copied to clipboard
bitmapPoolingEnabled
Link copied to clipboard
Enables counting references to bitmaps so they can be automatically reused by a BitmapPool when their reference count reaches zero.
bitmapPoolPercentage
Link copied to clipboard
fun bitmapPoolPercentage(@FloatRange(from = 0.0.toDouble(), to = 1.0.toDouble() ) percent: Double): ImageLoader.Builder
Content copied to clipboard
Set the percentage of memory allocated to this ImageLoader to allocate to bitmap pooling.
build
Link copied to clipboard
callFactory
Link copied to clipboard
componentRegistry
Link copied to clipboard
inline fun componentRegistry(builder: ComponentRegistry.Builder.() -> Unit): ImageLoader.Builder
Content copied to clipboard
Build and set the ComponentRegistry.
crossfade
Link copied to clipboard
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.
diskCachePolicy
Link copied to clipboard
dispatcher
Link copied to clipboard
error
Link copied to clipboard
eventListener
Link copied to clipboard
Set a single EventListener that will receive all callbacks for requests launched by this image loader.
fallback
Link copied to clipboard
launchInterceptorChainOnMainThread
Link copied to clipboard
fun launchInterceptorChainOnMainThread(enable: Boolean): ImageLoader.Builder
Content copied to clipboard
Enables launching the Interceptor chain on the main thread.
memoryCache
Link copied to clipboard
memoryCachePolicy
Link copied to clipboard
networkCachePolicy
Link copied to clipboard
networkObserverEnabled
Link copied to clipboard
okHttpClient
Link copied to clipboard
placeholder
Link copied to clipboard
precision
Link copied to clipboard
trackWeakReferences
Link copied to clipboard
transition
Link copied to clipboard
Set the default Transition for each request.