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