Open GoogleCodeExporter opened 8 years ago
Wanted this myself couple times. Should be easy enough to add.
Original comment by tinyeeliu@gmail.com
on 9 Jan 2013 at 7:21
This is my workaround for this problem:
bmp = aq.getCachedImage(url2);
if (bmp != null) { // if image is cached already
(new AjaxCallbackLoadingBitmap()).callback(url2, bmp, new AjaxStatus());
} else { // if image is not cached yet
//Log.d(TAG, "Not Cached: "+iconUrl);
AjaxCallback<Bitmap> cbBmp = new AjaxCallbackLoadingBitmap();
cbBmp.url(url).type(Bitmap.class).header("User-Agent", appPrefs.getUserAgent()).expire(GlobalVars.BROCHURES_EXPIRE).fileCache(true).memCache(false);
aq.ajax(cbBmp);
}
Original comment by darck...@gmail.com
on 27 Mar 2013 at 3:19
Original issue reported on code.google.com by
vladisla...@bioport.cz
on 8 Jan 2013 at 8:14