natario1 / ZoomLayout

2D zoom and pan behavior for View hierarchies, images, video streams, and much more, written in Kotlin for Android.
https://natario1.github.io/ZoomLayout
Apache License 2.0
1.03k stars 148 forks source link

Hold position when over scroll #210

Closed nambmt97s closed 2 years ago

nambmt97s commented 2 years ago

Problem to be addressed

Thank you for this lib, it's really awesome. But i have a issue. I am working with Zoomlayout. I would like to hold position when i pan outside its bounds (look like image attached). Api setOverScrollHorizontal(boolean) and setOverScrollVertical(boolean) description the content be allowed to pan outside its bounds, then return to its position. But not what I expected. Please give me advice on this problem. Thank you.

Library version: 1.8.0

4

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity in the last 20 days. It will be closed if no further activity occurs within the next seven days. Thank you for your contributions.