-
Notifications
You must be signed in to change notification settings - Fork 376
Daniel Luberda edited this page Apr 4, 2017
·
2 revisions
When fling or scrolling listview, images are recycled, user can see the old image before the new one loads (about 0.5 ~2 seconds), causing flicker and unpleasant artifacts for the user. How to avoid it?
Two solutions:
- Set any placeholder
- Set image source to null before loading actual image:
Xamarin.Forms:
cachedImage.Source = null;
Native:
ImageService.Instance.LoadFile(null).Into(imageView);