| Start |
|---|
| Using INavigation from view model First step is create navigation interface which we will use on view model: In Enum with pages:
In mapper I associated type of some page with enum value.
I get type of page on which user want navigate and create it's instance using reflection. And then I could use navigation service on view model: RemarksThe navigation on Xamarin.Forms is based on two principal navigation patterns: hierarchical and modal. The hierarchical pattern allows the user to move down in a stack of pages and return pressing the "back"/"up" button. The modal pattern is a interruption page that require a specific action from user, but normally can be canceled pressing the cancel button. Some examples are notifications, alerts, dialog boxes and register/edition pages. |
Read Article
https://develop.horje.com/learn/1434/reference