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

[ListView/CollectionView]: How to prevent images from disappearing on Android

$
0
0

I show a list of images in ListView or CollectionView. When I scroll up and down several times, I see that on Android, sometimes cells that have been shown before are now empty because their image is recycled, disposed, or hidden. I don't know what is happening, but I don't like the user experience. It takes about a second for the images to appear again. I tried using both FFImageLoading and good, old Image. Same issue. When I use Instagram, I don't see this problem as their scrolling is very smooth and previously-shown images never disappear out of their cells.

The images I display can be anywhere from 100Kb to 500Kb. Is there a setting that needs to be changed to fix this behavior? iOS seems fine.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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