push

abstract fun push(record: R, resultKey: String? = null)(source)

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

Parameters

record

The record to push onto the stack.

resultKey

An optional key that would be used to tag a result produced by this record. The previous record on the stack will receive this key.


abstract fun push(screen: Screen, resultKey: String? = null)(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.

Parameters

screen

The screen to push onto the stack.

resultKey

An optional key that would be used to tag a result produced by this record. The previous record on the stack will receive this key.