Package 

Class Tags


  • 
    public final class Tags
    
                        

    A map of custom objects. These are used to attach custom data to an ImageRequest.

    Unlike Parameters, Tags do not affect the memory cache key for a request. Tags are also attached to any OkHttp Requests executed as part of an image request whereas parameters are not.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Tags.Companion
    • Method Summary

      Modifier and Type Method Description
      final <T extends Any> T tag() Return the tag associated with T.
      final <T extends Any> T tag(Class<out T> type) Return the tag associated with type.
      final Map<Class<?>, Object> asMap() Get the underlying immutable map used by this instance.
      Boolean equals(Object other)
      Integer hashCode()
      String toString()
      • Methods inherited from class java.lang.Object

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