Exemplo n.º 1
0
        private void AddClicked(object sender, EventArgs e)
        {
            Skill newSkill        = new Skill();
            var   skillDetailPage = new SkillDetailsPage();

            skillDetailPage.BindingContext = newSkill;
            skillList.IsVisible            = false;
            Navigation.PushAsync(skillDetailPage);
        }
Exemplo n.º 2
0
 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);
     }
 }