Back to project page UrlImageViewHelper.
The source code is released under:
Apache License
If you think the Android project UrlImageViewHelper 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.urlimageviewhelper; /* w w w .j a va 2 s . c om*/ import java.io.InputStream; import android.content.Context; public interface UrlDownloader { public static interface UrlDownloaderCallback { public void onDownloadComplete(UrlDownloader downloader, InputStream in, String filename); } public void download(Context context, String url, String filename, UrlDownloaderCallback callback, Runnable completion); public boolean allowCache(); public boolean canDownloadUrl(String url); }