public abstract class LibraryGlideModule
extends java.lang.Object
Any number of LibraryGlideModules can be contained within any library or application.
LibraryGlideModules are called in no defined order. If LibraryGlideModules within an
application conflict, AppGlideModules can use the Excludes annotation to selectively remove one or more of the
conflicting modules.
| Constructor and Description |
|---|
LibraryGlideModule() |
| 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.
context - An Application Context.glide - The Glide singleton that is in the process of being initialized.registry - An Registry to use to register components.