Devlight / NavigationTabStrip

Navigation tab strip with smooth interaction.
Apache License 2.0
2.24k stars 313 forks source link

Fragments #11

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi, Thanks for the library. It looks and works fantastic. One question, though. How can I attach different fragments to different tabs? Thanks.

GIGAMOLE commented 8 years ago

Hello. Thanks a lot. Just use method setViewPager() and use the FragmentPagerAdapter on it.

MarkOSullivan94 commented 8 years ago

@GIGAMOLE do you have a working example of this?

GIGAMOLE commented 8 years ago

Look at the sample. There are ViewPager. Or look at the sample of another my library: https://github.com/DevLight-Mobile-Agency/InfiniteCycleViewPager.