Problem on loading icons in Android project using Xamarin

  android, c#

I migrate the code from iOS to Android and every icons from url is loaded correctly but icons from the API url was not loaded. When I start my old iOS project the icons from the same code was loaded.

string iconStringHourly1 = weatherBindingData.WeatherDataForecastHourly.List[0].WeatherForecast[0].IconForecast.ToString();
            string urlHourly1 = "http://openweathermap.org/img/wn/" + iconStringHourly1 + "@4x.png";
            iconHourly1.Source = urlHourly1;

Is there a way to show icons on the display 🙂

Source: Android Questions

LEAVE A COMMENT