com.xtremelabs.imageutils
Class AdvancedMemoryLRUCacher
java.lang.Object
com.xtremelabs.imageutils.AdvancedMemoryLRUCacher
- All Implemented Interfaces:
- ImageMemoryCacherInterface
public class AdvancedMemoryLRUCacher
- extends java.lang.Object
- implements ImageMemoryCacherInterface
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdvancedMemoryLRUCacher
public AdvancedMemoryLRUCacher()
getBitmap
public Bitmap getBitmap(DecodeSignature decodeSignature)
- Specified by:
getBitmap
in interface ImageMemoryCacherInterface
cacheBitmap
public void cacheBitmap(Bitmap bitmap,
DecodeSignature decodeSignature)
- Specified by:
cacheBitmap
in interface ImageMemoryCacherInterface
clearCache
public void clearCache()
- Specified by:
clearCache
in interface ImageMemoryCacherInterface
setMaximumCacheSize
public void setMaximumCacheSize(long size)
- Specified by:
setMaximumCacheSize
in interface ImageMemoryCacherInterface
getNumImagesInCache
public int getNumImagesInCache()
getSize
public long getSize()
getCurrentActualSize
public long getCurrentActualSize()
removeAllImagesForUri
public void removeAllImagesForUri(java.lang.String uri)
- Specified by:
removeAllImagesForUri
in interface ImageMemoryCacherInterface