コード例 #1
0
        async void Handle_ItemTapped(object sender, ItemTappedEventArgs e)
        {
            var prof = e.Item as Pessoa;
            //string i = prof.nome;
            //await DisplayAlert("Item Tapped", prof.nome, "OK");
            //await App.Current.MainPage.Navigation.PushAsync(new ListaProfissionaisPage());

            var servicos = new ListViewServicosPage(prof);
            //servicos.BindingContext = prof;
            await Navigation.PushAsync(servicos);

            //Deselect Item
            ((ListView)sender).SelectedItem = null;
        }
コード例 #2
0
 private async void tbAgendar_Clicked(object sender, EventArgs e)
 {
     var servicos = new ListViewServicosPage(App.User);
     //servicos.BindingContext = prof;
     await Navigation.PushAsync(servicos);
 }