コード例 #1
0
 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();
     }
 }
コード例 #2
0
		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();
			}
		}