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.
构造器和说明 |
---|
VolleyLibraryGlideModule() |
public void registerComponents(@NonNull Context context, @NonNull Glide glide, @NonNull Registry registry)
This method will be called once and only once per implementation.
registerComponents
在类中 LibraryGlideModule
context
- An Application Context
.glide
- The Glide singleton that is in the process of being initialized.registry
- An Registry
to use to register components.