Esempio n. 1
0
 public void SetCurrentPage(BaseViewModel viewModel)
 {
     Application.Current.MainPage = ViewModelToViewMapping.ResolvePageForViewModel(viewModel, appInfo.Mode);
 }
Esempio n. 2
0
 public async Task Push(BaseViewModel viewModel)
 {
     var view = ViewModelToViewMapping.ResolvePageForViewModel(viewModel, appInfo.Mode);
     await navigationView.Push(view);
 }
Esempio n. 3
0
 public async void Replace(BaseViewModel viewModel)
 {
     var view = ViewModelToViewMapping.ResolvePageForViewModel(viewModel, appInfo.Mode);
     await navigationView.Replace(view);
 }
Esempio n. 4
0
 public async Task SetCurrentPage(BaseViewModel viewModel)
 {
     var view = ViewModelToViewMapping.ResolvePageForViewModel(viewModel, appInfo.Mode);
     await navigationView.SetCurrentPage(view);
 }