public abstract class LibraryGlideModule extends 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, AppGlideModule
s 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(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 Context context, @NonNull Glide glide, @NonNull Registry registry)
This method will be called once and only once per implementation.