com.bumptech.glide.integration.volley
Class VolleyUrlLoader.Factory

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

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

The default factory for VolleyUrlLoaders.


Constructor Summary
VolleyUrlLoader.Factory(Context context)
          Constructor for a new Factory that runs requests using a static singleton request queue.
VolleyUrlLoader.Factory(com.android.volley.RequestQueue requestQueue)
          Constructor for a new Factory that runs requests using the given RequestQueue.
VolleyUrlLoader.Factory(com.android.volley.RequestQueue requestQueue, VolleyRequestFactory requestFactory)
          Constructor for a new Factory with a custom Volley request factory that runs requests using the given RequestQueue.
 
Method Summary
 com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream> build(Context context, com.bumptech.glide.load.model.GenericLoaderFactory factories)
           
 void teardown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VolleyUrlLoader.Factory

public VolleyUrlLoader.Factory(Context context)
Constructor for a new Factory that runs requests using a static singleton request queue.


VolleyUrlLoader.Factory

public VolleyUrlLoader.Factory(com.android.volley.RequestQueue requestQueue)
Constructor for a new Factory that runs requests using the given RequestQueue.


VolleyUrlLoader.Factory

public VolleyUrlLoader.Factory(com.android.volley.RequestQueue requestQueue,
                               VolleyRequestFactory requestFactory)
Constructor for a new Factory with a custom Volley request factory that runs requests using the given RequestQueue.

Method Detail

build

public com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream> build(Context context,
                                                                                                           com.bumptech.glide.load.model.GenericLoaderFactory factories)
Specified by:
build in interface com.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,InputStream>

teardown

public void teardown()
Specified by:
teardown in interface com.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,InputStream>