Mar 1, 2024
Not a bad solution for navigation, but the code around ViewModels is not very nice.
You are coupling the RootViewModel with other ViewModels, only each view should care about its ViewModel. RootView doesn't need to know anything about them.