put

abstract fun put(key: Key, resource: Resource<out Any>): Resource<out Any>

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.