-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum Router.PopRootControllerModeDefines 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 NEVERThe 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_VIEWThe 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_VIEWThe Router will pop both the final controller as well as its view.
-
Method Summary
Modifier and Type Method Description static Array<Router.PopRootControllerMode>values()static Router.PopRootControllerModevalueOf(String name)-
-
Method Detail
-
values
static Array<Router.PopRootControllerMode> values()
-
valueOf
static Router.PopRootControllerMode valueOf(String name)
-
-
-
-