penfeizhou / APNG4Android

Android animation support for APNG & Animated WebP & Gif & Animated AVIF, High performance
Apache License 2.0
567 stars 75 forks source link

APNG + Coil, can not display with memory cache policy #221

Open vokhuyetOz opened 1 month ago

vokhuyetOz commented 1 month ago

New Issue Checklist

Issue Info

Info Value
Device Info Samsung S9
System Version Android 8.0
APNG4Android Library Version 3.0.1
Repro rate all the time (100%)
Repro with our demo project no
Demo project link link to a demo project that highlights the issue

Issue Description and Steps

when i use your library to integrate apng with coil in this pull request. Decoder work well with disk cache policy. But Decoder can not get ImageSource.file() with memory cache policy

vokhuyetOz commented 1 month ago

https://github.com/line/apng-drawable can get image inputstream both disk cache policy and memory cache policy

penfeizhou commented 1 month ago

Thanks for feedback,I'll check it.

vokhuyetOz commented 1 month ago

@penfeizhou have you got any information about it?