Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Display placeholder image when image does not load of UriImageSource

$
0
0

Hi

I am using a remote uri as a source for an Image in Xamarin forms using a UriImageSource. I want to display a placeholder image/control when the remote image does not exist, but cant find a nice way to do this. I thought IsLoading might be the one but this is set to false once it succeeds or fails to load the image, do I have test if the remote image exists, seems a little over kill making another Http request just to determine if it doesn't exists and show a placeholder?

thanks


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>