Package 

Enum Router.PopRootControllerMode

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum Router.PopRootControllerMode
    
                        

    Defines the way a Router will handle back button or pop events when there is only one controllerleft in the backstack.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NEVER

      The Router will not pop the final controller left on the backstack when the back button is pressedor when pop events are called. This mode should generally be used for Activity-hosted routers.

      POP_ROOT_CONTROLLER_BUT_NOT_VIEW

      The Router will pop the final controller, but will leave its view in the hierarchy. This is usefulwhen the developer wishes to allow its containing Activity to finish or otherwise hide its parentview without any strange artifacting.

      POP_ROOT_CONTROLLER_AND_VIEW

      The Router will pop both the final controller as well as its view.