Package coil.request
Types
CachePolicy
Link copied to clipboard
DefaultRequestOptions
Link copied to clipboard
class DefaultRequestOptions(interceptorDispatcher: CoroutineDispatcher, fetcherDispatcher: CoroutineDispatcher, decoderDispatcher: CoroutineDispatcher, transformationDispatcher: CoroutineDispatcher, transitionFactory: Transition.Factory, precision: Precision, bitmapConfig: Bitmap.Config, allowHardware: Boolean, allowRgb565: Boolean, placeholder: Drawable?, error: Drawable?, fallback: Drawable?, memoryCachePolicy: CachePolicy, diskCachePolicy: CachePolicy, networkCachePolicy: CachePolicy)
Content copied to clipboard
A set of default options that are used to fill in unset ImageRequest values.
DefinedRequestOptions
Link copied to clipboard
class DefinedRequestOptions(lifecycle: Lifecycle?, sizeResolver: SizeResolver?, scale: Scale?, interceptorDispatcher: CoroutineDispatcher?, fetcherDispatcher: CoroutineDispatcher?, decoderDispatcher: CoroutineDispatcher?, transformationDispatcher: CoroutineDispatcher?, transitionFactory: Transition.Factory?, precision: Precision?, bitmapConfig: Bitmap.Config?, allowHardware: Boolean?, allowRgb565: Boolean?, memoryCachePolicy: CachePolicy?, diskCachePolicy: CachePolicy?, networkCachePolicy: CachePolicy?)
Content copied to clipboard
Tracks which values have been set (instead of computed automatically using a default) when building an ImageRequest.
Disposable
Link copied to clipboard
interface Disposable
Content copied to clipboard
ErrorResult
Link copied to clipboard
class ErrorResult(drawable: Drawable?, request: ImageRequest, throwable: Throwable) : ImageResult
Content copied to clipboard
ImageRequest
Link copied to clipboard
class ImageRequest
Content copied to clipboard
ImageResult
Link copied to clipboard
sealed class ImageResult
Content copied to clipboard
Represents the result of an executed ImageRequest.
NullRequestData
Link copied to clipboard
object NullRequestData
Content copied to clipboard
The value for ImageRequest.data if the request's data was not set or was set to null.
NullRequestDataException
Link copied to clipboard
Options
Link copied to clipboard
class Options(context: Context, config: Bitmap.Config, colorSpace: ColorSpace?, size: Size, scale: Scale, allowInexactSize: Boolean, allowRgb565: Boolean, premultipliedAlpha: Boolean, diskCacheKey: String?, headers: Headers, tags: Tags, parameters: Parameters, memoryCachePolicy: CachePolicy, diskCachePolicy: CachePolicy, networkCachePolicy: CachePolicy)
Content copied to clipboard
Parameters
Link copied to clipboard
SuccessResult
Link copied to clipboard
class SuccessResult(drawable: Drawable, request: ImageRequest, dataSource: DataSource, memoryCacheKey: MemoryCache.Key?, diskCacheKey: String?, isSampled: Boolean, isPlaceholderCached: Boolean) : ImageResult
Content copied to clipboard