public class OkHttpLibraryGlideModule extends LibraryGlideModule
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 |
---|
OkHttpLibraryGlideModule() |
Modifier and Type | Method and Description |
---|---|
void |
registerComponents(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(Context context, Glide glide, Registry registry)
This method will be called once and only once per implementation.
registerComponents
in class 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.