public EditBasicInfo(RegisterUserModel LoggedinUser)
        {
            try
            {
                InitializeComponent();

                Instance          = this;
                this.LoggedinUser = LoggedinUser;

                IEnumerable <string> genders = new List <string>()
                {
                    "Male", "Female", "Rather no to say"
                };
                SetRadioList(genders, rgEditBasicInfoGender);
                NavigationPage.SetHasNavigationBar(this, false);

                BindingContext = new EditBasicInfoViewModel(LoggedinUser);
                //_objProfileInfoResponse = new ProfileInfoResponse();
                //_apiService = new RestApi();
                //_objHeaderModel = new HeaderModel();
                //_objHeaderModel.TokenCode = Settings.TokenCode;
                //_baseUrl = Domain.Url + Domain.GetProfileInfoApiConstant;
            }
            catch (Exception ex)
            {
                Console.Write(ex.StackTrace);
            }
        }
        private void OnLocationSelected(object sender, SelectedItemChangedEventArgs e)
        {
            string selectedLoc = ((ListView)sender).SelectedItem.ToString();

            pbEPLocation.Text = selectedLoc;

            EditBasicInfo page = (EditBasicInfo)this.page;

            page.selectedLocation   = selectedLoc;
            page.selectedPrediction = selectedPrediction.Where(x => x.Description == selectedLoc).FirstOrDefault();

            listView.SelectedItem = null;

            Navigation.PopAsync();
        }