Back to project page tpblogr.
The source code is released under:
MIT License
If you think the Android project tpblogr listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package blogr.vpm.fr.blogr.picture; //from ww w . j ava2 s . co m import android.graphics.Bitmap; import android.widget.ImageView; import java.util.List; /** * Created by vincent on 23/10/14. */ public class ImageViewLoader implements PictureLoadedListener { private final int position; private final ImageView pictureView; private final List<Bitmap> bitmaps; public ImageViewLoader(List<Bitmap> bitmaps, int position, ImageView pictureView) { this.position = position; this.pictureView = pictureView; this.bitmaps = bitmaps; } @Override public void onPictureLoaded(Bitmap pictureBitmap) { pictureView.setImageBitmap(pictureBitmap); bitmaps.add(position, pictureBitmap); } }