NavScreenContainer

abstract class NavScreenContainer(val rootScreen: NavScreen, val supportRootBackButton: Boolean = false) : INavScreen, Parcelable

A NavScreen that contains a nested Navigator. The rootScreen is the first screen that is shown in the nested Navigator. The rootScreen is also used to provide the Toolbar and MenuItems for the nested Navigator, but can be overridden by the current screen in the nested Navigator.

Parameters

rootScreen

The first screen that is shown in the nested Navigator.

supportRootBackButton

set it to true if the container is not used with a on screen navigation like a bottom bar so that a toolbar in the root screen will show a back button that pops the root screen

Constructors

Link copied to clipboard
constructor(rootScreen: NavScreen, supportRootBackButton: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
expect open val key: ScreenKey
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun Content()
Link copied to clipboard
Link copied to clipboard
open override fun provideData(): NavScreenData
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toMenuItem(hideIconInDialog: Boolean = true, hideTitleIfIconIsAvailable: Boolean = false): MenuItem
Link copied to clipboard
Link copied to clipboard
open override fun Toolbar()