Back to project page Android-Lib-AsyncImageLoader.
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.
package android.lib.asyncimageloader; //from ww w.j av a 2s.com import java.net.URL; import android.graphics.BitmapFactory; import android.widget.ImageView; final class WorkItem { public final String path; public final URL url; public final ImageView imageView; public final BitmapFactory.Options options; public final int imageKind; public final int videoKind; public final OnImageLoadedListener listener; public WorkItem(final String path, final ImageView imageView, final BitmapFactory.Options options, final int imageKind, final int videoKind, final OnImageLoadedListener listener) { this.path = path; this.url = null; this.imageView = imageView; this.options = options; this.imageKind = imageKind; this.videoKind = videoKind; this.listener = listener; } public WorkItem(final URL url, final ImageView imageView, final BitmapFactory.Options options, final int imageKind, final int videoKind, final OnImageLoadedListener listener) { this.path = null; this.url = url; this.imageView = imageView; this.options = options; this.imageKind = imageKind; this.videoKind = videoKind; this.listener = listener; } }