Fetcher

fun fun interface Fetcher

A Fetcher translates data into either an ImageSource or a Drawable.

To accomplish this, fetchers fit into one of two types:

Types

Factory
Link copied to clipboard
fun fun interface Factory<T : Any>

Functions

fetch
Link copied to clipboard
abstract suspend fun fetch(): FetchResult?
Fetch the data provided by Factory.create or return 'null' to delegate to the next Factory in the component registry.