Navigator

fun Navigator(navStack: NavStack<out NavStack.Record>, onRootPop: (result: PopResult?) -> Unit): Navigator(source)

Creates a new Navigator.

Parameters

navStack

The backing NavStack to navigate.

onRootPop

Invoked when the backstack is at root (size 1) and the user presses the back button.

See also