Skip to content

coil-base / coil / DefaultRequestOptions

DefaultRequestOptions

data class DefaultRequestOptions

A set of default request options, which are used to initialize a RequestBuilder.

See Also

ImageLoader.defaults

Constructors

Name Summary
<init> A set of default request options, which are used to initialize a RequestBuilder.DefaultRequestOptions(dispatcher:CoroutineDispatcher= Dispatchers.IO, allowHardware:Boolean= true, allowRgb565:Boolean= false, crossfadeMillis:Int= 0, placeholder:Drawable? = null, error:Drawable? = null)

Properties

Name Summary
allowHardware val allowHardware:Boolean
allowRgb565 val allowRgb565:Boolean
crossfadeMillis val crossfadeMillis:Int
dispatcher val dispatcher:CoroutineDispatcher
error val error:Drawable?
placeholder val placeholder:Drawable?