push

open override fun push(screen: Screen): Boolean(source)

Push a new Screen onto the back stack. This will be enveloped in a Record and the new record will become the top of the stack.

Return

If the screen was successfully pushed onto the back stack

Parameters

screen

The screen to push onto the stack.


fun push(screen: Screen, args: Map<String, Any?>): Boolean(source)


open override fun push(record: SaveableBackStack.Record): Boolean(source)

Push a new Record onto the back stack. The new record will become the top of the stack.

Return

If the record was successfully pushed onto the back stack

Parameters

record

The record to push onto the stack.