-
public interface FetcherA Fetcher translates data into either an ImageSource or a Drawable.
To accomplish this, fetchers fit into one of two types:
Uses the data as a key to fetch bytes from a remote source (e.g. network, disk) and exposes it as an ImageSource (e.g. HttpUriFetcher).
Reads the data directly and translates it into a Drawable (e.g. BitmapFetcher).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceFetcher.Factory
-
Method Summary
Modifier and Type Method Description abstract FetchResultfetch()Fetch the data provided by Factory.create or return 'null' to delegate to the next Factory in the component registry. -
-
Method Detail
-
fetch
abstract FetchResult fetch()
Fetch the data provided by Factory.create or return 'null' to delegate to the next Factory in the component registry.
-
-
-
-