PopUpToBuilder



DSL for customizing NavOptionsBuilder.popUpTo operations.

Summary

Public constructors

android

Public properties

Boolean

Whether the popUpTo destination should be popped from the back stack.

android
Boolean

Whether the back stack and the state of all destinations between the current destination and the NavOptionsBuilder.popUpTo ID should be saved for later restoration via NavOptionsBuilder.restoreState or the restoreState attribute using the same NavOptionsBuilder.popUpTo ID (note: this matching ID is true whether inclusive is true or false).

android

Public constructors

PopUpToBuilder

PopUpToBuilder()

Public properties

inclusive

var inclusiveBoolean

Whether the popUpTo destination should be popped from the back stack.

saveState

var saveStateBoolean

Whether the back stack and the state of all destinations between the current destination and the NavOptionsBuilder.popUpTo ID should be saved for later restoration via NavOptionsBuilder.restoreState or the restoreState attribute using the same NavOptionsBuilder.popUpTo ID (note: this matching ID is true whether inclusive is true or false).