alexvasilkov / GestureViews

ImageView and FrameLayout with gestures control and position animation
Apache License 2.0
2.37k stars 384 forks source link

Pan the image to the edge to slide ViewPager2 is not working #176

Open beyondSider opened 2 years ago

beyondSider commented 2 years ago

Before added ViewPager2 support(Version 2.7.1),the feature in the demo was fine.

alexvasilkov commented 1 year ago

The old way to enable seamless scrolling with ViewPager was more like a hack. A better approach would be to use NestedScrollingChild / NestedScrollingParent mechanizm, but it's a rather complicated stuff that I didn't have time to implement yet.