I am trying to use ViewPager2 with Tablayout inside a Fragment. It does not show recyclerview when I keep it inside a Scrollview, whereas if I keep the ViewPager2 outside a Scrollview it works perfectly fine. Please help if anyone faced similar problem or have any idea about this?
I have two different layouts that I want under Scrolling. One layout has ViewPager and other is simple layout with Views.
Tried using NestedScrollview with fillViewport=true and set nested scrolling enabled to true. It didn't work
Kindly please provide your suggestions how to achieve this?
Subscribe to get latest updates