Class VolleyUrlLoader
- java.lang.Object
-
- com.bumptech.glide.integration.volley.VolleyUrlLoader
-
- All Implemented Interfaces:
com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>
public class VolleyUrlLoader extends java.lang.Object implements com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>A simple model loader for fetching media over http/https using Volley.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVolleyUrlLoader.FactoryThe default factory forVolleyUrlLoaders.
-
Constructor Summary
Constructors Constructor Description VolleyUrlLoader(com.android.volley.RequestQueue requestQueue)VolleyUrlLoader(com.android.volley.RequestQueue requestQueue, VolleyRequestFactory requestFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.bumptech.glide.load.model.ModelLoader.LoadData<java.io.InputStream>buildLoadData(com.bumptech.glide.load.model.GlideUrl url, int width, int height, com.bumptech.glide.load.Options options)booleanhandles(com.bumptech.glide.load.model.GlideUrl url)
-
-
-
Constructor Detail
-
VolleyUrlLoader
public VolleyUrlLoader(com.android.volley.RequestQueue requestQueue)
-
VolleyUrlLoader
public VolleyUrlLoader(com.android.volley.RequestQueue requestQueue, VolleyRequestFactory requestFactory)
-
-
Method Detail
-
handles
public boolean handles(@NonNull com.bumptech.glide.load.model.GlideUrl url)- Specified by:
handlesin interfacecom.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>
-
buildLoadData
public com.bumptech.glide.load.model.ModelLoader.LoadData<java.io.InputStream> buildLoadData(@NonNull com.bumptech.glide.load.model.GlideUrl url, int width, int height, @NonNull com.bumptech.glide.load.Options options)- Specified by:
buildLoadDatain interfacecom.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,java.io.InputStream>
-
-