Best way to show WelcomeView and then show Rootview? #327
Replies: 1 comment
-
The way that Stylet works by default means that it's a lot easier if you have one View per ViewModel. It's possible to change this, but you need to change the way that Stylet maps ViewModels to Views. See the docs page on the ViewManager. I'm going to rename your RootView/Model to ShellView/Model for the purposes of this answer. I'd make your WelcomeView the root view (i.e. your bootstrapper inherits from Alternatively, make your bootstrapper inherit from |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So I am developing an application that is used to create some kind of projects.
I currently have two Views namely
RootView
andWelcomeView
and one Viewmodel namedRootViewModel
. I would like to couple both the views to the same viewmodel though that is not absolutely necessary. I could also use seperate viewmodels for each view.What I want to achieve is-
Beta Was this translation helpful? Give feedback.
All reactions