JakeWharton/ActionBarSherlock — Issue #90: Fragment options menu not prepared when using ViewPager on Android 2.3
Author: veeti
Created: 2011-10-22 16:51:14+00:00
State: open

On an app where I have a bunch of fragments in a `ViewPager`, the `onPrepareOptionsMenu` function isn't called on the selected fragment when sliding the pager. Calling `invalidateOptionsMenu` also does nothing. (On ICS, everything works properly).

I've written a quick demo app to demonstrate the problem and you can find it [here](https://github.com/veeti/ABSViewPagerMenuTest).