Reputation: 2371
My activity have Main activity with Tab Layout & View Pager, In View Pager first fragment is having another View Pager which is inflating Fragment & vertically swipe action. While my main view pager is horizontal in swipe.
Now it is creating problem in horizontal swipe as its event is eaten out by vertical swipe fragment.
Upvotes: 0
Views: 737
Reputation: 102
When you declare your pager adapter, make sure you use getChildFragmentManager
like :
MyPagerAdapter pagerAdapter = new MyPagerAdapter(getChildFragmentManager);
Upvotes: 0