Back to project page ion.
The source code is released under:
Apache License
If you think the Android project ion 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.koushikdutta.ion.builder; //from www . j a va 2 s.c om import android.graphics.Bitmap; import com.koushikdutta.async.future.Future; import com.koushikdutta.ion.bitmap.BitmapInfo; import com.koushikdutta.ion.bitmap.LocallyCachedStatus; /** * Created by koush on 5/30/13. */ public interface BitmapFutureBuilder { /** * Perform the request and get the result as a Bitmap * @return */ public Future<Bitmap> asBitmap(); /** * Attempt to immediately retrieve the cached Bitmap info from the memory cache * @return */ public BitmapInfo asCachedBitmap(); /** * Check whether the Bitmap can be loaded from either the file or memory cache * @return */ public LocallyCachedStatus isLocallyCached(); }