I'm having an issue where the first time I try loading an image, there is a slight delay before it is visible. I don't see this delay after the first. I also don't experience this delay when using an Image vs a CachedImage.
I assume this is due to caching because it will fade in when the fade animation is set to perform.
What I am trying to do:
What I am getting
Things to note:
If I extend the length of the fade, the CachedImage will change while the fade happens.
I noticed someone else had a similar problem like in issue #564, but the suggested addition of a permission didn't help me.
Am I missing a setting or a way to preload items into cache?
Hi @tiscott1
LoadingDelay property to 0 - it's 15ms by defaultFadeAnimationEnabled property). ImageService.Instance.Load[Url/File].Preload()CachedImage.Success/Finish/Error callbacks as image loading is queued sometimes (if many tasks pending). Hey Daniel,
Tapping into the callbacks is exactly what I needed. Thank you for the help.
Most helpful comment
Hi @tiscott1
LoadingDelayproperty to 0 - it's 15ms by defaultFadeAnimationEnabledproperty).ImageService.Instance.Load[Url/File].Preload()CachedImage.Success/Finish/Errorcallbacks as image loading is queued sometimes (if many tasks pending).