private void AddClicked(object sender, EventArgs e) { Skill newSkill = new Skill(); var skillDetailPage = new SkillDetailsPage(); skillDetailPage.BindingContext = newSkill; skillList.IsVisible = false; Navigation.PushAsync(skillDetailPage); }
private void skillSelected(object sender, SelectedItemChangedEventArgs e) { if (e.SelectedItem != null) { var skillSelected = (Skill)e.SelectedItem; var skillDetailPage = new SkillDetailsPage(); skillDetailPage.BindingContext = skillSelected; skillList.IsVisible = false; Navigation.PushAsync(skillDetailPage); } }