FFImageLoading icon indicating copy to clipboard operation
FFImageLoading copied to clipboard

Invalidating cache entry with downsampling doesn't work

Open adusak opened this issue 9 years ago • 3 comments

Hello,

I have an issue with removing image that was downsampled from cache, even if I set the removeSimilar parameter to true. If I don't use downsampling invalidating the cache key works and the image reloads.

Usage example: ImageService.Instance.LoadFile(page.PreviewImage.Path).FadeAnimation(true, true).DownSampleInDip((int)newView.Frame.Width, (int)newView.Frame.Height).Into(newView.ImageView);

And the cache invalidation: await ImageService.Instance.InvalidateCacheEntryAsync(Page.PreviewImage.Path, FFImageLoading.Cache.CacheType.All, true);

I am using the latest version from nuget and iOS.

adusak avatar Jan 16 '17 07:01 adusak

Hi @adusak Could you test 2.2.8-pre-303 if it also has the same issue? There were some changes.

daniel-luberda avatar Jan 17 '17 14:01 daniel-luberda

Any news?

daniel-luberda avatar Jan 24 '17 18:01 daniel-luberda

Hello, sorry for the delayed response. I just tried with version 2.2.8 and it seems to be working well. Thank you!

adusak avatar Jan 31 '17 06:01 adusak