Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Should I navigate to pages from View Model in MVVM pattern?

$
0
0

The sign in button is bound to a command in the ViewModel (VM). If the login is successful, I want to take the user to the main page. That means I need to push the page from VM. Is it going to violet the MVVM design pattern? What is the best way to do it and how?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>