Package com.bumptech.glide.signature
Class AndroidResourceSignature
- java.lang.Object
-
- com.bumptech.glide.signature.AndroidResourceSignature
-
-
Field Summary
-
Fields inherited from interface com.bumptech.glide.load.Key
CHARSET, STRING_CHARSET_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)For caching to work correctly, implementations must implement this method andKey.hashCode().inthashCode()For caching to work correctly, implementations must implement this method andKey.equals(Object).static Keyobtain(android.content.Context context)voidupdateDiskCacheKey(java.security.MessageDigest messageDigest)Adds all uniquely identifying information to the given digest.
-
-
-
Method Detail
-
obtain
@NonNull public static Key obtain(@NonNull android.content.Context context)
-
equals
public boolean equals(java.lang.Object o)
Description copied from interface:KeyFor caching to work correctly, implementations must implement this method andKey.hashCode().
-
hashCode
public int hashCode()
Description copied from interface:KeyFor caching to work correctly, implementations must implement this method andKey.equals(Object).
-
updateDiskCacheKey
public void updateDiskCacheKey(@NonNull java.security.MessageDigest messageDigest)Description copied from interface:KeyAdds all uniquely identifying information to the given digest.Note - Using
MessageDigest.reset()inside of this method will result in undefined behavior.- Specified by:
updateDiskCacheKeyin interfaceKey
-
-