mirror of
https://github.com/InsanusMokrassar/docs.git
synced 2024-11-22 08:13:59 +00:00
Update getting-started.md
This commit is contained in:
parent
6dc843337b
commit
fce4d336c0
@ -74,9 +74,9 @@ class MainNodeView(
|
||||
|
||||
object MainNodeFactory : NavigationNodeFactory<NavigationNodeDefaultConfig> {
|
||||
override fun createNode(
|
||||
navigationChain: NavigationChain<Base>,
|
||||
config: Base
|
||||
): NavigationNode<out Base, Base>? = if (config is MainConfig) {
|
||||
navigationChain: NavigationChain<NavigationNodeDefaultConfig>,
|
||||
config: NavigationNodeDefaultConfig
|
||||
): NavigationNode<out NavigationNodeDefaultConfig, NavigationNodeDefaultConfig>? = if (config is MainConfig) {
|
||||
MainNode(config, navigationChain) // Or `MainNodeView(config, chain)` for MVVM
|
||||
} else {
|
||||
null
|
||||
|
Loading…
Reference in New Issue
Block a user