private void NavigateToZombie(Zombie zombie) { rootNavigationPage.PushAsync(new DetailView(zombie)); }
public DetailView(Zombie zombie) { InitializeComponent(); var viewModel = new DetailViewModel(zombie); this.BindingContext = viewModel; }