JakeWharton/ActionBarSherlock — Issue #240: setSelectedNavigationItem do not work in Expandable List mode,
Author: deviant-studio
Created: 2012-02-09 19:14:46+00:00
State: open

Another old issue. I use ViewPager with tabs (code based on Support4Demo). When I flip page, I use this code in PagerAdapter to update tab selection:
```
public void onPageSelected(int position) {
mActionBar.setSelectedNavigationItem(position);
}
```
This works great until I add few actionbar items and tabs collapsed to expandable list (it happens in landscape mode). Then selection of current tab just didnt work. Is I should use some other method instead of setSelectedNavigationItem()?
This issue appears in beta5 and beta6