Getting a Bitmap resource from the cache
suggest changeTo get a resource from the cache, pass the key (a String in this example). memoryCache is the LruCache that holds the bitmaps.
public Bitmap getResourceFromMemoryCache(String key) {
return memoryCache.get(key);
}
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents