There is a trimToSize () method in the Google Developer API that I cannot find / use. How to clear or reduce the size of my LRU cache?
public final void evictAll ()
Added to API Level 12
Clear the cache by calling entryRemoved(boolean, K, V, V)for each deleted entry.
entryRemoved(boolean, K, V, V)
Use this method.