fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Gallery using viewpager cannot scroll when zoom image with zoomabledrawee

Open hanhmh1203 opened this issue 10 years ago • 3 comments

Hi Friends, I have Issue, when I using library fresco with control zoomabledrawee, while I zoom it, and scroll image to end of left or end of right, and contineu scroll, viewpager cannot scroll to next image. plz help me!!!.

hanhmh1203 avatar Jan 25 '16 04:01 hanhmh1203

plz help me !!

hanhmh1203 avatar Jan 25 '16 10:01 hanhmh1203

ZoomableDraweeView is really just an example implementation. It is not intended to be used as is.

The problem you have happens because the sample implementation of ZoomableDraweeView just forwards all of the touch events to the DefaultZoomableController which always handles them. In order to workaround this, you have to implement some additional logic in ZoomableDraweeView.onTouchEvent and/or ZoomableController.

Anyhow, for this kind of questions please ask on StackOverflow with the tag fresco and android. We're answering questions on stackoverflow but there are a lot more people in the community who can help you.

plamenko avatar Jan 27 '16 15:01 plamenko

Thanks :)

hanhmh1203 avatar Jan 28 '16 00:01 hanhmh1203