How I can implement zoom in Fresco Library?

Víctor Martín picture Víctor Martín · Aug 26, 2015 · Viewed 8.4k times · Source

I'm using Fresco to visualize images from the assets folder in a view. My problem is that by default the class com.facebook.drawee.view.SimpleDraweeView doesn't have a zoom/pinch method. Is there any property or something in the XML to enable this, or which is the way to achieve it?

Answer

Chuong Nguyen picture Chuong Nguyen · Sep 15, 2015

this is Fresco ZoomableDraweeView

ZoomableDraweeView

To see how to use please take a look at this:

ZoomableDraweeView-sample

Hope it help you!