public class VolleyLibraryGlideModule extends LibraryGlideModule
GlideModule implementation to replace Glide's default HttpURLConnection based ModelLoader with a Volley
based ModelLoader.
For Applications that depend on this library and include an AppGlideModule and Glide's
annotation processor, this class will be automatically included.
| Constructor and Description |
|---|
VolleyLibraryGlideModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerComponents(android.content.Context context,
Glide glide,
Registry registry)
Lazily register components immediately after the Glide singleton is created but before any
requests can be started.
|
public void registerComponents(@NonNull
android.content.Context context,
@NonNull
Glide glide,
@NonNull
Registry registry)
This method will be called once and only once per implementation.
registerComponents in class LibraryGlideModulecontext - An Application Context.glide - The Glide singleton that is in the process of being initialized.registry - An Registry to use to register components.