I am new to MVVM and would like to ask if this "layout" is good MVVM. For the start, the app (I use a cloud api for signin a user in and to receive some data) should automatically log a user in, in case he has already entered once the password. And then display other persons(which I receive) on the MainPage. Of course there is also a Login screen for first time users or if he logged out.
How should I handle the auto login?
MainView <--> MainViewModel <---PersonModel
LoginView <--> LoginViewModel