Class VolleyUrlLoader.Factory
- java.lang.Object
-
- com.bumptech.glide.integration.volley.VolleyUrlLoader.Factory
-
- All Implemented Interfaces:
com.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>
- Enclosing class:
- VolleyUrlLoader
public static class VolleyUrlLoader.Factory extends java.lang.Object implements com.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>The default factory forVolleyUrlLoaders.
-
-
Constructor Summary
Constructors Constructor Description Factory(android.content.Context context)Constructor for a new Factory that runs requests using a static singleton request queue.Factory(com.android.volley.RequestQueue requestQueue)Constructor for a new Factory that runs requests using the givenRequestQueue.Factory(com.android.volley.RequestQueue requestQueue, VolleyRequestFactory requestFactory)Constructor for a new Factory with a custom Volley request factory that runs requests using the givenRequestQueue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>build(com.bumptech.glide.load.model.MultiModelLoaderFactory factory)voidteardown()
-
-
-
Constructor Detail
-
Factory
public Factory(android.content.Context context)
Constructor for a new Factory that runs requests using a static singleton request queue.
-
Factory
public Factory(com.android.volley.RequestQueue requestQueue)
Constructor for a new Factory that runs requests using the givenRequestQueue.
-
Factory
public Factory(com.android.volley.RequestQueue requestQueue, VolleyRequestFactory requestFactory)Constructor for a new Factory with a custom Volley request factory that runs requests using the givenRequestQueue.
-
-
Method Detail
-
build
@NonNull public com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream> build(com.bumptech.glide.load.model.MultiModelLoaderFactory factory)
- Specified by:
buildin interfacecom.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>
-
teardown
public void teardown()
- Specified by:
teardownin interfacecom.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>
-
-