public async void ShowAddressSetting() { var addressPage = new StoreAddressView(); string[] items = myStore.StoreAddress.Split('#'); addressPage.BindingContext = new AddressItem { HouseNumber = items[0], District = items[1], City = items[2], Country = items[3] }; await App.Current.MainPage.Navigation.PushAsync(addressPage, true); }
public async void ChangeAddress() { var addressPage = new StoreAddressView(); addressPage.SetForUser(); addressPage.parentName = "UserSetting"; string[] items = CurrentUser.Address.Split('#'); addressPage.BindingContext = new AddressItem { HouseNumber = items[0], District = items[1], City = items[2], Country = items[3] }; await App.Current.MainPage.Navigation.PushAsync(addressPage, true); }