Exemplo n.º 1
0
        protected override void Init()
        {
            Master = new ContentPage
            {
                Title           = "Menu",
                BackgroundColor = Color.Blue
            };

            Detail = new DetailPageCS();
        }
Exemplo n.º 2
0
 async void OnItemSelected(object sender, SelectedItemChangedEventArgs e)
 {
     if (listView.SelectedItem != null)
     {
         var detailPage = new DetailPageCS();
         detailPage.BindingContext = e.SelectedItem as Contact;
         listView.SelectedItem     = null;
         await Navigation.PushModalAsync(detailPage);
     }
 }