async void typeofbike_rentTapped(object sender, EventArgs e) { Device.BeginInvokeOnMainThread(async() => { SelectTypeOfBikePopup s = new SelectTypeOfBikePopup(1); Navigation.PushPopupAsync(s); }); }
async void typeofbike_sellTapped(object sender, EventArgs e) { Device.BeginInvokeOnMainThread(async() => { SelectTypeOfBikePopup s = new SelectTypeOfBikePopup(0); await Navigation.PushPopupAsync(s); //pickerTypeofBike_sell.Focus(); }); }