restoreState

abstract fun restoreState(screen: Screen): Boolean(source)

Restores the saved state with the given screen, adding it on top of the existing entry list. If you wish to replace the current entry list, you should pop all of the existing entries off before calling this function.

Return

Returns true if there was any back stack state to restore.

Parameters

screen

The root screen which was previously saved using saveState.