Package com.bumptech.glide.signature
Class AndroidResourceSignature
java.lang.Object
com.bumptech.glide.signature.AndroidResourceSignature
- All Implemented Interfaces:
Key
Includes information about the package as well as whether or not the device is in night mode.
-
Field Summary
Fields inherited from interface com.bumptech.glide.load.Key
CHARSET, STRING_CHARSET_NAME -
Method Summary
Modifier and TypeMethodDescriptionbooleanFor 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 KeyvoidupdateDiskCacheKey(MessageDigest messageDigest) Adds all uniquely identifying information to the given digest.
-
Method Details
-
obtain
-
equals
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
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
-