jsibbold / zoomage

A simple pinch-to-zoom ImageView library for Android
http://jsibbold.github.io/zoomage
Apache License 2.0
316 stars 77 forks source link

Undesirable zoom when entering page with ViewPager2 #88

Open endrjudev opened 4 years ago

endrjudev commented 4 years ago

I have such a problem - when scrolling with view pager some of the pages are auto zoomed a little and after a second they revert to original size. This seems to not occur when scale type of an imageView is set to Matrix, but not confirmed. I have a default configuration in code, nothing custom. Additionally autoReset seems to not work everytime i lose interaction with image.

app:zoomage_autoResetMode="ALWAYS" app:zoomage_restrictBounds="true" app:zoomage_animateOnReset="true" app:zoomage_autoCenter="false" app:zoomage_translatable="false" app:zoomage_zoomable="false" app:zoomage_minScale="1" app:zoomage_maxScale="5" app:zoomage_doubleTapToZoom="false"

jsibbold commented 4 years ago

Are you using the current release or the snapshot?

endrjudev commented 4 years ago

Release version

pon., 9 mar 2020 o 19:52 Jeff Sibbold notifications@github.com napisał(a):

Are you using the current release or the snapshot?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jsibbold/zoomage/issues/88?email_source=notifications&email_token=AGPFOUC7IKX4HXBVCPXYGRTRGVCIZA5CNFSM4LCH6KRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOITPIQ#issuecomment-596719522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGPFOUCHY2IJA53EDVXF7T3RGVCIZANCNFSM4LCH6KRA .

-- Andrzej Piątkowski phone: 696928942 andrzej.piatkowski96@gmail.com

jsibbold commented 4 years ago

Can you please give the snapshot a try and see if you experience the same issues?

endrjudev commented 4 years ago

Unfortunately I am not able to because we have restrictions regarding access to custom repositories.

W dniu pon., 9.03.2020 o 22:22 Jeff Sibbold notifications@github.com napisał(a):

Can you please give the snapshot a try and see if you experience the same issues?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jsibbold/zoomage/issues/88?email_source=notifications&email_token=AGPFOUF5DFRP2PKBGTXAUTTRGVT2TA5CNFSM4LCH6KRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOJD2IY#issuecomment-596786467, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGPFOUCL7PV2EL43Z4P5OKTRGVT2TANCNFSM4LCH6KRA .

-- Andrzej Piątkowski phone: 696928942 andrzej.piatkowski96@gmail.com

jsibbold commented 4 years ago

1.3.1 is in jcenter now