Package 

Class LibraryImageModule

  • All Implemented Interfaces:
    com.mobwith.imgmodule.module.RegistersComponents

    
    public abstract class LibraryImageModule
     implements RegistersComponents
                        

    Registers 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
      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.
      • Methods inherited from class com.mobwith.imgmodule.module.RegistersComponents

        registerComponents
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.

        Parameters:
        context - An Application Context.
        imageModule - The ImageModule singleton that is in the process of being initialized.
        registry - An Registry to use to register components.