public void Run() { try{ if (imageLoader.imageViewReused(photoToLoad)) { return; } Bitmap bmp = imageLoader.GetBitmap(photoToLoad.url); imageLoader.memoryCache.PutBitmap(photoToLoad.url, bmp); if (imageLoader.imageViewReused(photoToLoad)) { return; } BitmapDisplayer bd = new BitmapDisplayer(bmp, photoToLoad, imageLoader); imageLoader.handler.Post(bd); }catch (Throwable th) { th.PrintStackTrace(); } }
public void Run () { try{ if(imageLoader.imageViewReused(photoToLoad)) return; Bitmap bmp=imageLoader.GetBitmap(photoToLoad.url); imageLoader.memoryCache.PutBitmap(photoToLoad.url, bmp); if(imageLoader.imageViewReused(photoToLoad)) return; BitmapDisplayer bd=new BitmapDisplayer(bmp, photoToLoad,imageLoader); imageLoader.handler.Post(bd); }catch(Throwable th){ th.PrintStackTrace(); } }