Exemple #1
0
        private async void CreateParking1(object sender, EventArgs e)
        {
            Parking     parking     = new Parking();
            ParkingPage parkingpage = new ParkingPage();

            parkingpage.BindingContext = parking;
            await Navigation.PushAsync(parkingpage);
        }
Exemple #2
0
        private async void OnItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            Parking     selectedParking = (Parking)e.SelectedItem;
            ParkingPage parkingPage     = new ParkingPage();

            parkingPage.BindingContext = selectedParking;
            await Navigation.PushAsync(parkingPage);
        }