com.nostra13.universalimageloader.cache.memory.impl
Class WeakMemoryCache

java.lang.Object
  extended by com.nostra13.universalimageloader.cache.memory.BaseMemoryCache
      extended by com.nostra13.universalimageloader.cache.memory.impl.WeakMemoryCache
All Implemented Interfaces:
MemoryCache, MemoryCacheAware<String,android.graphics.Bitmap>

public class WeakMemoryCache
extends BaseMemoryCache

Memory cache with weak references to bitmaps

NOTE: This cache uses only weak references for stored Bitmaps.

Since:
1.5.3
Author:
Sergey Tarasevich (nostra13[at]gmail[dot]com)

Constructor Summary
WeakMemoryCache()
           
 
Method Summary
protected  Reference<android.graphics.Bitmap> createReference(android.graphics.Bitmap value)
          Creates not strong reference of value
 
Methods inherited from class com.nostra13.universalimageloader.cache.memory.BaseMemoryCache
clear, get, keys, put, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeakMemoryCache

public WeakMemoryCache()
Method Detail

createReference

protected Reference<android.graphics.Bitmap> createReference(android.graphics.Bitmap value)
Description copied from class: BaseMemoryCache
Creates not strong reference of value

Specified by:
createReference in class BaseMemoryCache


Copyright © 2011-2014. All Rights Reserved.