private async void lsvVolunteer_ItemTapped(object sender, ItemTappedEventArgs e)
 {
     VolunteerDetails volunteerDetails = new VolunteerDetails()
     {
         BindingContext = e.Item as Volunteer,
         Title          = "Update Volunteer"
     };
     await Navigation.PushAsync(volunteerDetails);
 }
        private async void btnAddVolunteer_Clicked(object sender, EventArgs e)
        {
            Volunteer        volunteer        = new Volunteer();
            VolunteerDetails volunteerDetails = new VolunteerDetails()
            {
                BindingContext = volunteer,
                Title          = "Add Volunteer"
            };

            await Navigation.PushAsync(volunteerDetails);
        }
Beispiel #3
0
        private void btnSignUp_Clicked(object sender, EventArgs e)
        {
            Volunteer        volunteer = new Volunteer();
            VolunteerDetails vd        = new VolunteerDetails()
            {
                BindingContext = volunteer,
                Title          = "Sign up"
            };

            Navigation.PushAsync(vd);
        }