private async void NextBtnClick_Tapped(object sender, EventArgs e) { Debug.WriteLine("next button {0} {1}", pickupPosition.Latitude, pickupPosition.Longitude); IsLoading = true; WebConnection webconnection = new WebConnection(); webconnection.On_ResponseRecived += Webconnection_On_ResponseRecived; await webconnection.GetVechicleInfo("SUV", "some locaton"); }
private async Task DrivergetBasePriceAsync() { Debug.WriteLine("next button {0} {1}", pickupPosition.Latitude, pickupPosition.Longitude); IsLoading = true; WebConnection webconnection = new WebConnection(); webconnection.On_ResponseRecived += Webconnection_BasePrice_ResponseRecived; await webconnection.GetVechicleInfo("SUV", "some locaton"); }