Package 

Interface Fetcher


  • 
    public interface Fetcher
    
                        

    A 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 interface Fetcher.Factory
    • Method Summary

      Modifier and Type Method Description
      abstract FetchResult fetch() Fetch the data provided by Factory.create or return 'null' to delegate to the next Factory in the component registry.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait