Class DateAdapterModule


  • public final class DateAdapterModule
    extends Object
    Every date adapter needs to have a module with some attributes of date adapter itself.
    It provides a single point of glass on date adapter.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • get

        public static DateAdapterModule get()
        Returns the singleton instance of module.
        Returns:
        the singleton instance of module
      • isInjected

        public boolean isInjected()
        Returns if the date adapter has been injected.
        Returns:
        false, the date adapter has not been injected
      • injectionComplete

        public void injectionComplete​(DateAdapterInjectionComplete injectionComplete)
        Is invoked when the date adapter has been injected.
        It can be invoked only by the resources type of the module.
        Parameters:
        injectionComplete - empty object which can be created only by resources type