private async Task FetchAndBindData() { response = await httpRequests.GetLocationByIp(); if (response.Status == ResponseStatus.OK) { IPCountryVM iPCountryVM = JsonConvert.DeserializeObject <IPCountryVM>(response.ResultData.ToString()); response = await httpRequests.GetCountryDetailByCountryCode(iPCountryVM.Country); CountryDetailVM countryDetailVM = JsonConvert.DeserializeObject <CountryDetailVM>(response.ResultData.ToString()); MainContainer.IsVisible = true; txt_PhoneNumber.Placeholder = countryDetailVM.MobileMask; MaskedBehavior.Mask = countryDetailVM.MobileMask; } }