Package 

Enum DataSource

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum DataSource
    extends Enum<DataSource>
                        

    Represents the source that an image was loaded from.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NETWORK

      Represents a network-based data source (e.g. HttpUrl).

      DISK

      Represents a disk-based data source (e.g. DrawableRes, File).

      MEMORY

      Represents an in-memory data source (e.g. Bitmap, ByteBuffer).

      MEMORY_CACHE

      Represents an ImageLoader's memory cache.

      This is a special data source as it means the request was short circuited and skipped the full image pipeline.

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

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