I have a ViewPager
. Inside this ViewPager I have Fragments
that have all the same layout. The layout contains a header and a RecyclerView
and I want only the header of this layout to be swipeable. So the user may only switch between the fragments inside the viewpager when he is swipping on the header. I have tried a CustomViewPager but it was not working the way I wanted it to.
Does someone have a solution?