Back to project page webimageloader.
The source code is released under:
Apache License
If you think the Android project webimageloader 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 com.webimageloader.util; //from w w w. j a v a 2s .c o m import java.util.concurrent.Callable; import java.util.concurrent.FutureTask; import android.graphics.Bitmap; public class WaitFuture extends FutureTask<Bitmap> { public WaitFuture() { super(new EmptyCallable()); } @Override public void set(Bitmap v) { super.set(v); } @Override public void setException(Throwable t) { super.setException(t); } private static class EmptyCallable implements Callable<Bitmap> { @Override public Bitmap call() throws Exception { return null; } } }