public static interface ImageMemoryCache.OnImageCallbackListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onGetFailed(String imageUrl,
android.graphics.Bitmap loadedImage,
android.view.View view,
FailedReason failedReason)
callback function after get image failed, run on ui thread
|
void |
onGetNotInCache(String imageUrl,
android.view.View view)
callback function when get image but image not in cache, run on ui thread.
|
void |
onGetSuccess(String imageUrl,
android.graphics.Bitmap loadedImage,
android.view.View view,
boolean isInCache)
callback function after get image successfully, run on ui thread
|
void |
onPreGet(String imageUrl,
android.view.View view)
callback function before get image, run on ui thread
|
void onPreGet(String imageUrl, android.view.View view)
imageUrl - imageUrlview - view need the imagevoid onGetNotInCache(String imageUrl, android.view.View view)
onPreGet(String, View), before
#onGetSuccess(String, String, View, boolean) and
#onGetFailed(String, String, View, FailedReason)imageUrl - imageUrlview - view need the imagevoid onGetSuccess(String imageUrl, android.graphics.Bitmap loadedImage, android.view.View view, boolean isInCache)
imageUrl - imageUrlloadedImage - loaded image bitmapview - view need the imageisInCache - whether already in cache or got realtimevoid onGetFailed(String imageUrl, android.graphics.Bitmap loadedImage, android.view.View view, FailedReason failedReason)
imageUrl - imageUrlloadedImage - loaded image bitmapview - view need the imagefailedReason - failed reason for get imageCopyright © 2012-2014. All Rights Reserved.