Code example for LruCache

Methods: get, put

0
	  
	} 
 
	public void addBitmapToMemoryCache(String key, Bitmap bitmap) {
	    if (getBitmapFromMemCache(key) == null) {
	        mMemoryCache.put(key, bitmap);
	    } 
	} 
 
	public Bitmap getBitmapFromMemCache(String key) {
	    return mMemoryCache.get(key);
	} 
}