I have a horizontal Viewpager2 inside a vertical Recyclerview. The problem is that the vertical recyclerview is very sensitive and unless the horizontal swipe is exactly in straight line, the view moves in vertical direction. I tried using fakedrag to fix this but couldn't get it right. A similar question was asked here but that guy ended up replacing viewpager2 with a recyclerview and using a snapHelper. I son't want to use a recyclerview.
Asked
Active
Viewed 855 times
1
1 Answers
0
Ended up using RecyclerView with SnapHelper as mentioned in the answer i referenced in my question.
Sharing the link again for reference.

Sayed Jalil Hassan
- 2,535
- 7
- 30
- 42