private void DisplayCurrentWeather() { var service = new ForecastService(); var currentWeather = service.GetCurrentWeather().Result; //Fill interface components LabelState.Text = currentWeather.state; LabelCountry.Text = currentWeather.country; LabelTemperature.Text = currentWeather.data.temperature.ToString(); LabelHumidity.Text = currentWeather.data.humidity.ToString(); LabelDate.Text = currentWeather.data.date; ImageIcon.Source = ImageSource.FromResource($"mob{currentWeather.data.icon}.png"); //if (Device.RuntimePlatform == Device.Android) //ImageIcon.Source = ImageSource.FromFile($"mob{currentWeather.data.icon}.png"); }