I have a ViewPager2 with fragments inside it.
One of the fragments has 2 RecyclerViews, both of which are Horizontal Linear.
When you touch on the RecyclerView, the ViewPager handles the swipe gestures instead, and doesn't scroll the RecyclerView.
The RecyclerViews and the ViewPager both are inside NestedScrollView, but that doesn't change anything.
The only way to scroll the RecyclerView is doing a slow swipe gesture on the RecyclerView, that way, the RecyclerView handles the swipe gesture instead of the ViewPager, but of course, that is not convenient for a user.
How can I make the RecyclerView handle the scrolling when it's touched, and disable the ViewPager's handling when the touch is inside the RecyclerView.
P.S : I know most will say that is not recommended, Google Play Store has the same view but the ViewPager isn't scrollable, instead, the user is supposed to use the TabLayout to navigate the pages.