com.bumptech.glide.integration.volley
Class VolleyUrlLoader

java.lang.Object
  extended by com.bumptech.glide.integration.volley.VolleyUrlLoader
All Implemented Interfaces:
com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream>

public class VolleyUrlLoader
extends Object
implements com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream>

A simple model loader for fetching media over http/https using Volley.


Nested Class Summary
static class VolleyUrlLoader.Factory
          The default factory for VolleyUrlLoaders.
 
Constructor Summary
VolleyUrlLoader(com.android.volley.RequestQueue requestQueue)
           
VolleyUrlLoader(com.android.volley.RequestQueue requestQueue, VolleyRequestFactory requestFactory)
           
 
Method Summary
 com.bumptech.glide.load.data.DataFetcher<InputStream> getResourceFetcher(com.bumptech.glide.load.model.GlideUrl url, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolleyUrlLoader

public VolleyUrlLoader(com.android.volley.RequestQueue requestQueue)

VolleyUrlLoader

public VolleyUrlLoader(com.android.volley.RequestQueue requestQueue,
                       VolleyRequestFactory requestFactory)
Method Detail

getResourceFetcher

public com.bumptech.glide.load.data.DataFetcher<InputStream> getResourceFetcher(com.bumptech.glide.load.model.GlideUrl url,
                                                                                int width,
                                                                                int height)
Specified by:
getResourceFetcher in interface com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream>