You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.
I have a main sherlock activity, which swaps full screen fragments in and out of a frame layout. One of these fragments has a FragmentStatePagerAdapter which hosts some other fragments.
On most devices, this works just fine, when I scroll between fragments in the pager the menu items update in the action bar as you would expect. However when I run the app on a device with a hardware menu button the menu items don't appear until either I press the menu button, or I scroll to another fragment and back again.
Here are some screens:
Screen 1, Fragment showing with a pager. The child fragment has menu items, but they aren't showing.
Screen 2, The menu items have appeared in the action bar no that the overflow has been opened by pressing the menu button.
Any ideas what this could be?
The text was updated successfully, but these errors were encountered:
I have a main sherlock activity, which swaps full screen fragments in and out of a frame layout. One of these fragments has a FragmentStatePagerAdapter which hosts some other fragments.
On most devices, this works just fine, when I scroll between fragments in the pager the menu items update in the action bar as you would expect. However when I run the app on a device with a hardware menu button the menu items don't appear until either I press the menu button, or I scroll to another fragment and back again.
Here are some screens:
Screen 1, Fragment showing with a pager. The child fragment has menu items, but they aren't showing.
Screen 2, The menu items have appeared in the action bar no that the overflow has been opened by pressing the menu button.
Any ideas what this could be?
The text was updated successfully, but these errors were encountered: