Why my ListView won't show the image from an URL I provided?

Hi, I would like to show OpenWeather forecasts images from URL provided by OpenWeather in a ListView. In the code below, the main text and detailed text are just test strings.

Searched the forum and followed the examples provided and I still can't figure out why my images in ListView won't show up.

Thanks for your time to help!

Here are my codes:

Here is the screen capture:

Have you set the layout of the listview?
image

1 Like

Why not just download the images yourself, and package them in the media folder?


openweathermap.aia (4.4 KB)

Hi Kevin,
You were right! I totally forgot about this setting.... :sweat_smile:
After changed the ListViewLayout, the image is back!

Thank you so much!

Stonez56

then mark my contribution as solution.

1 Like

Hi ABG,
Thanks for your suggestion! Download those images into media asset is much more efficient and fast!

The OpenWeather 4 day forecasts for each 3 hours took a long time to complete. There are times where the App just became unresponsive.

Thank you!
Stonez56

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.