coil-base / coil / DefaultRequestOptions

DefaultRequestOptions

data class DefaultRequestOptions

A set of default options that are used to fill in unset Request values.

See Also

ImageLoader.defaults

Constructors

Name Summary
<init> A set of default options that are used to fill in unset Request values.DefaultRequestOptions(dispatcher:CoroutineDispatcher= Dispatchers.IO, transition:Transition= Transition.NONE, precision:Precision= Precision.AUTOMATIC, bitmapConfig:Config= Utils.getDefaultBitmapConfig(), allowHardware:Boolean= true, allowRgb565:Boolean= false, placeholder:Drawable? = null, error:Drawable? = null, fallback:Drawable? = null, memoryCachePolicy:CachePolicy= CachePolicy.ENABLED, diskCachePolicy:CachePolicy= CachePolicy.ENABLED, networkCachePolicy:CachePolicy= CachePolicy.ENABLED)

Properties

Name Summary
allowHardware val allowHardware:Boolean
allowRgb565 val allowRgb565:Boolean
bitmapConfig val bitmapConfig:Config
diskCachePolicy val diskCachePolicy:CachePolicy
dispatcher val dispatcher:CoroutineDispatcher
error val error:Drawable?
fallback val fallback:Drawable?
memoryCachePolicy val memoryCachePolicy:CachePolicy
networkCachePolicy val networkCachePolicy:CachePolicy
placeholder val placeholder:Drawable?
precision val precision:Precision
transition val transition:Transition