-
- All Implemented Interfaces:
-
com.mobwith.imgmodule.module.RegistersComponents
public abstract class LibraryImageModule implements RegistersComponentsRegisters a set of components to use when initializing ImageModule within an app when ImageModule annotation processor is used.
Any number of LibraryImageModule can be contained within any library or application.
LibraryImageModule are called in no defined order. If LibraryImageModule within an application conflict, AppImageModules can use the annotation to selectively remove one or more of the conflicting modules.
-
-
Method Summary
Modifier and Type Method Description voidregisterComponents(@NonNull() Context context, @NonNull() ImageModule imageModule, @NonNull() Registry registry)Lazily register components immediately after the ImageModule singleton is created but before anyrequests can be started. -
-
Method Detail
-
registerComponents
void registerComponents(@NonNull() Context context, @NonNull() ImageModule imageModule, @NonNull() Registry registry)
Lazily register components immediately after the ImageModule singleton is created but before anyrequests can be started.
This method will be called once and only once per implementation.
-
-
-
-