I have an activity showing a few fragments. Activity view contains only ViewPager initialized with custom FragmentPagerAdapter. This adapter provide navigation among 3 fragments
If you are using ActionBar tabs, You would like to see this answer:
How can I change Action Bar actions dynamically?