Android Open Source - UrlImageViewHelper Url Downloader






From Project

Back to project page UrlImageViewHelper.

License

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.

Java Source Code

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);
}




Java Source Code List

com.koushikdutta.urlimageviewhelper.AssetUrlDownloader.java
com.koushikdutta.urlimageviewhelper.Constants.java
com.koushikdutta.urlimageviewhelper.ContactContentUrlDownloader.java
com.koushikdutta.urlimageviewhelper.ContentUrlDownloader.java
com.koushikdutta.urlimageviewhelper.DrawableCache.java
com.koushikdutta.urlimageviewhelper.FileUrlDownloader.java
com.koushikdutta.urlimageviewhelper.HttpUrlDownloader.java
com.koushikdutta.urlimageviewhelper.LruBitmapCache.java
com.koushikdutta.urlimageviewhelper.LruCache.java
com.koushikdutta.urlimageviewhelper.SoftReferenceHashTable.java
com.koushikdutta.urlimageviewhelper.UrlDownloader.java
com.koushikdutta.urlimageviewhelper.UrlImageViewCallback.java
com.koushikdutta.urlimageviewhelper.UrlImageViewHelper.java
com.koushikdutta.urlimageviewhelper.sample.UrlImageViewHelperSample.java