Beispiel #1
0
        public ContactsPage()
        {
            InitializeComponent();

            ContactList.ItemSelected += async (sender, args) =>
            {
                var contactDetailPage = new ContactDetailPage {BindingContext = args.SelectedItem};
                await Navigation.PushAsync(contactDetailPage, true);
            };
        }
Beispiel #2
0
        public ContactsPage()
        {
            InitializeComponent();

            ContactList.ItemSelected += async(sender, args) =>
            {
                var contactDetailPage = new ContactDetailPage {
                    BindingContext = args.SelectedItem
                };
                await Navigation.PushAsync(contactDetailPage, true);
            };
        }