MemoryCacheAdapter
A simple class that ignores all puts and returns null for all gets.
Functions
Link copied to clipboard
Evict all items from the memory cache.
Link copied to clipboard
Returns the sum of the sizes of all the contents of the cache in bytes.
Link copied to clipboard
Returns the current maximum size in bytes of the cache.
Link copied to clipboard
open fun setResourceRemovedListener(listener: MemoryCache.ResourceRemovedListener)
Content copied to clipboard
Set the listener to be called when a bitmap is removed from the cache.
Link copied to clipboard
Adjust the maximum size of the cache by multiplying the original size of the cache by the given multiplier.
Link copied to clipboard
Trim the memory cache to the appropriate level.