Code example for LruCache

Methods: remove

0
        return null; 
    } 
 
    public void remove(final String key) {
        if (mLruCache != null) {
            mLruCache.remove(key);
        } 
    } 
     
    public void clearMemCache() { 
        if (mLruCache != null) {
            mLruCache.evictAll();
        } 
        System.gc();
    } 
 
    public static final class RetainFragment extends Fragment {
 
        private Object mObject;
 
        public RetainFragment() {