FadeAnimationForCachedImages is not working when read from disk cache
Hi.
I am using the latest version of FFImageLoading and am encountering the following issue: If FadeAnimationForCachedImages is false (while FadeAnimationEnabled is true), images still fade in when read from disk cache.
I do want the fade to happen when transitioning from a placeholder image to a newly downloaded image, but not when fetching a cached image from disk. Isn't this exactly what FadeAnimationForCachedImages=false should accomplish? Please note that if I set FadeAnimationForCachedImages to false, then the fade doesn't happen when read from disk cache, but then no fade takes place ever.
Tested with iOS only, don't know if it happens on Android also.
Thank you.
It has been confirmed that Android can also encounter this problem, the flowing code works for those photo that are not cached
<ffimageloading:CachedImage Grid.Row="1"
FadeAnimationEnabled="True"
FadeAnimationDuration="500"
FadeAnimationForCachedImages="True"
BitmapOptimizations="True"
Source="{Binding SelectedPhotoItem.FilePath}"
Aspect="AspectFill"
DownsampleToViewSize="true"
WidthRequest="300"
DownsampleWidth="24" />