qdsfdhvh/compose-imageloader

Memory cache conflicts when using the maxImageSize option

Closed this issue · 0 comments

Hi! I found an issue related to the recently introduced maxImageSize option.

The current default cache key generation logic does not take care about the option, so memory cache maybe returns different size images.

I know we can add own custom Keyer implementation to handle the situation, but I think this one should be handled in the library itself.


Repro:
https://github.com/h6ah4i/ComposeImageLoaderMemCacheConfliction

Expected Actual (the right image is NOT scaled)