0
  1. My question is in my activity or fragment, there are TabLayout and ViewPager. If I was to disable swipe of ViewPager by using a class called NonSwipeableViewPager. Then why should I bother to using ViewPager right from the start, I could have just use TabLayout to add tabs which is much more simpler.
  2. What are the other advantages of using ViewPager even though the primary function of it which is Creating Swipe Views with Tabs is not needed?
  3. Do Fragment layout must use framelayout? Which means can I use relative or liner layout instead of framelayout?
  4. Last but not least, do I allowed to use ViewPager with the swipe disabled?
Community
  • 1
  • 1
Lotto Kuma
  • 38
  • 5

0 Answers0