private void ViewCell_Tapped(object sender, EventArgs e) { var contactMethodsPage = new ContactMethodsPage(); contactMethodsPage.ContactMethods.ItemSelected += ContactMethods_ItemSelected; Navigation.PushAsync(contactMethodsPage); }
private void ViewCell_Tapped(object sender, EventArgs e) { var page = new ContactMethodsPage(); page.ContactMethods.ItemSelected += (source, args) => { lblContactMethod.Text = args.SelectedItem.ToString(); Navigation.PopAsync(); }; Navigation.PushAsync(page); }
void Handle_Tapped(object sender, System.EventArgs e) { var page = new ContactMethodsPage(); page.ContactMethods.ItemSelected += (source, args) => { contactMethod.Text = args.SelectedItem.ToString(); Navigation.PopAsync(); }; Navigation.PushAsync(page); }