@Override
            public void onPageSelected(int position) {
                actionBar.setSelectedNavigationItem(position);
            }
The {@link ViewPager} that will host the section contents.
sample/src/main/java/example/zxing/TabbedScanning.java