get Drawable
Return the drawable in cache.
Return
the drawable if cache exists or null otherwise
Parameters
key
The key of cache.
open fun getDrawable(@NonNull() key: String, defaultValue: Drawable): Drawable
Content copied to clipboard
Return the drawable in cache.
Return
the drawable if cache exists or defaultValue otherwise
Parameters
key
The key of cache.
defaultValue
The default value if the cache doesn't exist.