ImageRequest

class ImageRequest

An immutable value object that represents a request for an image.

See also

Types

Builder
Link copied to clipboard
class Builder
Listener
Link copied to clipboard
interface Listener
A set of callbacks for an ImageRequest.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
newBuilder
Link copied to clipboard
fun newBuilder(context: Context = this.context): ImageRequest.Builder

Properties

allowConversionToBitmap
Link copied to clipboard
val allowConversionToBitmap: Boolean
allowHardware
Link copied to clipboard
val allowHardware: Boolean
allowRgb565
Link copied to clipboard
val allowRgb565: Boolean
bitmapConfig
Link copied to clipboard
val bitmapConfig: Bitmap.Config
colorSpace
Link copied to clipboard
val colorSpace: ColorSpace?
context
Link copied to clipboard
val context: Context
data
Link copied to clipboard
val data: Any
decoderDispatcher
Link copied to clipboard
val decoderDispatcher: CoroutineDispatcher
decoderFactory
Link copied to clipboard
val decoderFactory: Decoder.Factory?
defaults
Link copied to clipboard
val defaults: DefaultRequestOptions
The defaults used to fill unset values.
defined
Link copied to clipboard
val defined: DefinedRequestOptions
The raw values set on Builder.
diskCacheKey
Link copied to clipboard
val diskCacheKey: String?
diskCachePolicy
Link copied to clipboard
val diskCachePolicy: CachePolicy
error
Link copied to clipboard
val error: Drawable?
fallback
Link copied to clipboard
val fallback: Drawable?
fetcherDispatcher
Link copied to clipboard
val fetcherDispatcher: CoroutineDispatcher
fetcherFactory
Link copied to clipboard
val fetcherFactory: Pair<Fetcher.Factory<*>, Class<*>>?
headers
Link copied to clipboard
val headers: Headers
interceptorDispatcher
Link copied to clipboard
val interceptorDispatcher: CoroutineDispatcher
lifecycle
Link copied to clipboard
val lifecycle: Lifecycle
listener
Link copied to clipboard
val listener: ImageRequest.Listener?
memoryCacheKey
Link copied to clipboard
val memoryCacheKey: MemoryCache.Key?
memoryCachePolicy
Link copied to clipboard
val memoryCachePolicy: CachePolicy
networkCachePolicy
Link copied to clipboard
val networkCachePolicy: CachePolicy
parameters
Link copied to clipboard
val parameters: Parameters
placeholder
Link copied to clipboard
val placeholder: Drawable?
placeholderMemoryCacheKey
Link copied to clipboard
val placeholderMemoryCacheKey: MemoryCache.Key?
precision
Link copied to clipboard
val precision: Precision
premultipliedAlpha
Link copied to clipboard
val premultipliedAlpha: Boolean
scale
Link copied to clipboard
val scale: Scale
sizeResolver
Link copied to clipboard
val sizeResolver: SizeResolver
tags
Link copied to clipboard
val tags: Tags
target
Link copied to clipboard
val target: Target?
transformationDispatcher
Link copied to clipboard
val transformationDispatcher: CoroutineDispatcher
transformations
Link copied to clipboard
val transformations: List<Transformation>
transitionFactory
Link copied to clipboard
val transitionFactory: Transition.Factory