Version 0.10.0
- decreased library size by making animated GIF and animated WebP modules optional
- decreased library size by optimizing native code
- custom scale type support for Drawee
- improved and simplified zoomable functionality: added support for tap listeners and inflation from XML
- OkHttp 3 support
- added ability to disable disk cache for certain requests (for security purposes)
- several bug fixes
Breaking change!
If you are using animated images (animated GIFs or animated WebPs) you need to add the following dependencies to your Gradle file:
animated GIF support:
compile 'com.facebook.fresco:animated-gif:0.10.0'
animated WebP support:
compile 'com.facebook.fresco:animated-webp:0.10.0'
if you’re using Gingerbread you also need to add:
compile 'com.facebook.fresco:animated-base-support:0.10.0'
Drawee changes
If you've been using R.styleable.GenericDraweeView
, you now have to use R.styleable.GenericDraweeHierarchy
instead.