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

ListView Image recycling

$
0
0

I'm using the Image class from Xamarin.Forms along with a binding using the UriImageSource. The problem is that while scrolling the ListView and new images are downloaded you often see the previous image from the recycled DataTemplate. How can I make it so that an empty ImageView is used and no image shows up rather than the recycled Image while the other image downloads?

I know there are platform dependent techniques I could use, but is there a way built into Xamarin.Forms so I don't have to roll in my own CustomRenderer? Seems like this is a common use case that should be handled within the Forms framework?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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