NavigationTabBar icon indicating copy to clipboard operation
NavigationTabBar copied to clipboard

How to inflate fragments into the NavigationBar

Open khuranadhruv18 opened this issue 8 years ago • 2 comments

The tutorial only showed how to inflate views, but what about fragments?

khuranadhruv18 avatar May 23 '17 20:05 khuranadhruv18

just define a viewpager and setup that , then use below code navigationTabBar.setViewPager(viewPager);

and if u want to change the fragment when ntb state change use navigationTabBar.setOnPageChangeListener

ghost avatar Aug 24 '17 09:08 ghost

Check this answer https://github.com/Devlight/NavigationTabBar/issues/107

theofilis avatar Apr 09 '18 11:04 theofilis