imablanco / Zoomy

Zoomy is an easy to use pinch-to-zoom Android library
918 stars 120 forks source link

onViewBeforeStartedZooming Callback #32

Open budowski opened 4 years ago

budowski commented 4 years ago

As part of the zoomListener - it's a callback that's called before zooming starts. This is useful in cases we want to manipulate the image/view being displayed, before the zooming starts.

For example - ImageView with a center-crop scale type, that we want to show fully (fit-center) when zooming in.

alexanderbkl commented 2 years ago

This one is very important!

alexanderbkl commented 2 years ago

This one is very important!

but were you able to make it work or something?

budowski commented 2 years ago

Yeah, I'm using this forked version in another project: http://github.com/inaturalist/iNaturalistAndroid/

theoyuncu8 commented 1 year ago

@budowski hi, when i apply zoomy i can't listen ACTION_DOWN operation with ontouchListener. can you help? https://github.com/imablanco/Zoomy/issues/40