public async Task <TViewModel> PushAsync <TViewModel>(TViewModel viewModel) where TViewModel : class, IViewModel { var view = _viewFactory.CreateThemedContentPage(viewModel); try { await _navigation.Value.PushAsync(view); } catch (Exception) { Debug.WriteLine("ERROR: Xamarin.Forms' INavigation implementation was unable push the page onto the navigation stack - is the page a valid Xamarin page?"); throw; } return(viewModel); }