jfson / jfson.github.io

About Android
2 stars 0 forks source link

SVGA自定义缓存问题 #1

Open cxrenbin opened 6 years ago

cxrenbin commented 6 years ago

今天看了你关于SVGA和Lottie的对比,想问一下。 如果要给SVGA的SVGAVideoEntity对象添加缓存的话,大概改怎么做?谢谢

jfson commented 6 years ago

建议做一级缓存即可(内存缓存),在首次使用时的parse后即可~