push

actual inline fun <Args> push(route: String, args: Args)
actual fun push(route: String)
expect inline fun <Args> push(route: String, args: Args)

Pushes new screen route on the routes stack. Effectively it changes current screen to the new screen for given route which are declared when building ScreensNavigation.

Parameters

route

route for which new screen will be navigated to

args

optional screen arguments passed when navigating to route


expect fun push(route: String)

Pushes new screen route on the routes stack without passing arguments. Effectively it changes current screen to the new screen for given route which are declared when building ScreensNavigation.

Parameters

route

route for which new screen will be navigated to

actual inline fun <Args> push(route: String, args: Args)
actual fun push(route: String)