private async void PiesListView_ItemTapped(object sender, ItemTappedEventArgs e)
        {
            PieDetailPage      pieDetailPage      = new PieDetailPage();
            PieDetailViewModel pieDetailViewModel = new PieDetailViewModel(e.Item as Pie);

            pieDetailPage.BindingContext = pieDetailViewModel;

            await this.Navigation.PushAsync(pieDetailPage);
        }
Exemplo n.º 2
0
        public App()
        {
            InitializeComponent();

            MainPage = new PieDetailPage();
        }