com.bumptech.glide.integration.volley
Class VolleyStreamFetcher
java.lang.Object
com.bumptech.glide.integration.volley.VolleyStreamFetcher
- All Implemented Interfaces:
- com.bumptech.glide.load.data.DataFetcher<InputStream>
public class VolleyStreamFetcher
- extends Object
- implements com.bumptech.glide.load.data.DataFetcher<InputStream>
A DataFetcher backed by volley for fetching images via http.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_REQUEST_FACTORY
public static final VolleyRequestFactory DEFAULT_REQUEST_FACTORY
VolleyStreamFetcher
public VolleyStreamFetcher(com.android.volley.RequestQueue requestQueue,
com.bumptech.glide.load.model.GlideUrl url)
VolleyStreamFetcher
public VolleyStreamFetcher(com.android.volley.RequestQueue requestQueue,
com.bumptech.glide.load.model.GlideUrl url,
VolleyRequestFuture<InputStream> requestFuture)
VolleyStreamFetcher
public VolleyStreamFetcher(com.android.volley.RequestQueue requestQueue,
com.bumptech.glide.load.model.GlideUrl url,
VolleyRequestFuture<InputStream> requestFuture,
VolleyRequestFactory requestFactory)
loadData
public InputStream loadData(com.bumptech.glide.Priority priority)
throws Exception
- Specified by:
loadData
in interface com.bumptech.glide.load.data.DataFetcher<InputStream>
- Throws:
Exception
cleanup
public void cleanup()
- Specified by:
cleanup
in interface com.bumptech.glide.load.data.DataFetcher<InputStream>
getId
public String getId()
- Specified by:
getId
in interface com.bumptech.glide.load.data.DataFetcher<InputStream>
cancel
public void cancel()
- Specified by:
cancel
in interface com.bumptech.glide.load.data.DataFetcher<InputStream>