public class VolleyStreamFetcher
extends java.lang.Object
implements com.bumptech.glide.load.data.DataFetcher<java.io.InputStream>
| Modifier and Type | Class and Description |
|---|---|
static class |
VolleyStreamFetcher.GlideRequest
Default
Request implementation for Glide that receives errors and
results on volley's background thread. |
| Modifier and Type | Field and Description |
|---|---|
static VolleyRequestFactory |
DEFAULT_REQUEST_FACTORY |
| Constructor and Description |
|---|
VolleyStreamFetcher(com.android.volley.RequestQueue requestQueue,
com.bumptech.glide.load.model.GlideUrl url) |
VolleyStreamFetcher(com.android.volley.RequestQueue requestQueue,
com.bumptech.glide.load.model.GlideUrl url,
VolleyRequestFactory requestFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
cleanup() |
java.lang.Class<java.io.InputStream> |
getDataClass() |
com.bumptech.glide.load.DataSource |
getDataSource() |
void |
loadData(com.bumptech.glide.Priority priority,
com.bumptech.glide.load.data.DataFetcher.DataCallback<? super java.io.InputStream> callback) |
public static final VolleyRequestFactory DEFAULT_REQUEST_FACTORY
public VolleyStreamFetcher(com.android.volley.RequestQueue requestQueue,
com.bumptech.glide.load.model.GlideUrl url)
public VolleyStreamFetcher(com.android.volley.RequestQueue requestQueue,
com.bumptech.glide.load.model.GlideUrl url,
VolleyRequestFactory requestFactory)
public void loadData(@NonNull
com.bumptech.glide.Priority priority,
@NonNull
com.bumptech.glide.load.data.DataFetcher.DataCallback<? super java.io.InputStream> callback)
loadData in interface com.bumptech.glide.load.data.DataFetcher<java.io.InputStream>public void cleanup()
cleanup in interface com.bumptech.glide.load.data.DataFetcher<java.io.InputStream>public void cancel()
cancel in interface com.bumptech.glide.load.data.DataFetcher<java.io.InputStream>@NonNull public java.lang.Class<java.io.InputStream> getDataClass()
getDataClass in interface com.bumptech.glide.load.data.DataFetcher<java.io.InputStream>@NonNull public com.bumptech.glide.load.DataSource getDataSource()
getDataSource in interface com.bumptech.glide.load.data.DataFetcher<java.io.InputStream>