Package coil.fetch

Types

DrawableResult
Link copied to clipboard
class DrawableResult(drawable: Drawable, isSampled: Boolean, dataSource: DataSource) : FetchResult
A direct Drawable result.
Fetcher
Link copied to clipboard
fun fun interface Fetcher
A Fetcher translates data into either an ImageSource or a Drawable.
FetchResult
Link copied to clipboard
sealed class FetchResult
The result of Fetcher.fetch.
SourceResult
Link copied to clipboard
class SourceResult(source: ImageSource, mimeType: String?, dataSource: DataSource) : FetchResult
An ImageSource result, which will be consumed by the relevant Decoder.