put
abstract fun put(key: Key, resource: Resource<out Any>): Resource<out Any>
Content copied to clipboard
Add bitmap to the cache with the given key.
Return
The old value of key (null if key is not in map).
Parameters
key
The key to retrieve the bitmap.
resource
The com.bumptech.glide.load.engine.EngineResource to store.