1

I have a view pager that display serval nested fragments. Consider A,B and C are the fragments directly hold by the view pager. And each A,B and C holds a fragment D which the option menu. The problem is that, the menu item is correctly hided when switching page. When A switch to B, there will be duplicated menu items. Anyone know how to fix this?

Morty Choi
  • 373
  • 2
  • 10
  • show some of your code... how you add your `Fragments` within your `ViewPager`, your `ViewPager`'s adapter and so on... – Bartek Lipinski May 15 '15 at 07:32
  • I basically follow the guide http://developer.android.com/reference/android/support/v4/view/ViewPager.html. But I am using ToolBar instead. – Morty Choi May 15 '15 at 07:44

0 Answers0