Interface NCLifecycle

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void onDiscard()
      Called after lifecycle components is no longer needed.
      default void onInit()
      Called before lifecycle component is used and just after its creation.
    • Method Detail

      • onInit

        default void onInit()
        Called before lifecycle component is used and just after its creation. This method is guaranteed to be called. Default implementation is no-op.
      • onDiscard

        default void onDiscard()
        Called after lifecycle components is no longer needed. Unlike onInit() method this call is optional and not guaranteed. Default implementation is a no-op.