Open tutaf opened 3 years ago
This is a glitch which I was not able to fix in ViewPager
, as the stock ViewPager
API does not support blocking swiping. Thus I had to block swiping using touch listeners. I would be happy to merge a PR in that regard, but I don't have the time to re-implement blocking of sliding. Maybe the library needs to be re-written with ViewPager2
...
PS: Turns out, GitHub quick-tips just told me you can upload MP4 and MOV files by drag & drop.
A long swipe skips slide that should be unskippable
Reproduce
Steps to reproduce the behavior:
Expected behavior
The slide shouldn't be skipped
Stack trace / screenshots
https://user-images.githubusercontent.com/36704220/103523166-28ace080-4e84-11eb-81db-ac8187171aa0.mp4
Device
Asus Zenfone Max Pro M1 (Android 10), demo app v.1.6.1 (same problem in library v.2.0.0) Emulator (Pixel 3a, API 30) library version v.2.0.0