Android Open Source - Android-Lib-AsyncImageLoader Update Image View






From Project

Back to project page Android-Lib-AsyncImageLoader.

License

The source code is released under:

Apache License

If you think the Android project Android-Lib-AsyncImageLoader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package android.lib.asyncimageloader;
//  w ww .jav a2  s.c o  m
import android.graphics.Bitmap;
import android.widget.ImageView;

final class UpdateImageView implements Runnable {
    private final ImageView imageView;
    private final Bitmap    bitmap;

    public UpdateImageView(final ImageView imageView, final Bitmap bitmap) {
        this.imageView = imageView;
        this.bitmap    = bitmap;
    }

    @Override
    public void run() {
        this.imageView.setImageBitmap(this.bitmap);
    }
}




Java Source Code List

android.lib.asyncimageloader.AsyncImageLoader.java
android.lib.asyncimageloader.BitmapCache.java
android.lib.asyncimageloader.DiskCache.java
android.lib.asyncimageloader.GalleryAdapter.java
android.lib.asyncimageloader.OnImageLoadedListener.java
android.lib.asyncimageloader.PauseOnScroll.java
android.lib.asyncimageloader.UpdateImageView.java
android.lib.asyncimageloader.WorkItem.java