public async Task LoadWeatherData()
        {
            errorDialog.Visibility = Android.Views.ViewStates.Gone;
            CheckNetworkConnectivity connectivity = new CheckNetworkConnectivity(connectivityManager);

            await GetLocation();

            if (connectivity.IsPhoneOnline())
            {
                PointF latlng = new PointF((float)lat, (float)lng);
                try
                {
                    var weatherdata = await ServiceCall.GetCurrentWeather(latlng);

                    if (weatherdata != null)
                    {
                        setLabelValues(weatherdata);
                    }
                }
                catch (WebException w)
                {
                    HandleNetworkFailure();
                }
                catch (TimeoutException e)
                {
                    HandleTimeout();
                }
            }
            else
            {
                var c = "this string";
            }
        }
        public async Task LoadExtendedWeatherData()
        {
            CheckNetworkConnectivity connectivity = new CheckNetworkConnectivity(connectivityManager);

            spinner.Visibility = Android.Views.ViewStates.Visible;
            if (connectivity.IsPhoneOnline())
            {
                PointF latlng = new PointF((float)lat, (float)lng);
                try
                {
                    var extendedForecastData = await ServiceCall.GetFiveDayWeather(latlng);

                    if (extendedForecastData != null)
                    {
                        List <WeatherConditionModel> threeDayForecast = WeatherObjectHelper.GetNextTwoDaysWeather(extendedForecastData);
                        setExtendForecastValues(threeDayForecast);
                    }
                }
                catch (WebException w)
                {
                    HandleNetworkFailure();
                }
                catch (TimeoutException e)
                {
                    HandleTimeout();
                }
            }
            else
            {
                var c = "this string";
            }
        }