com.duowan.mobile.netroid.toolbox
Interface ImageLoader.ImageCache

All Known Implementing Classes:
BitmapImageCache
Enclosing class:
ImageLoader

public static interface ImageLoader.ImageCache

Simple cache adapter interface. If provided to the ImageLoader, it will be used as an L1 cache before dispatch to Netroid. Implementations must not block. Implementation with an LruCache is recommended.


Method Summary
 android.graphics.Bitmap getBitmap(java.lang.String url)
           
 void putBitmap(java.lang.String url, android.graphics.Bitmap bitmap)
           
 

Method Detail

getBitmap

android.graphics.Bitmap getBitmap(java.lang.String url)

putBitmap

void putBitmap(java.lang.String url,
               android.graphics.Bitmap bitmap)