@Override
            public void onPageSelected(int position) {
                actionBar.setSelectedNavigationItem(position);
            }
The {@link ViewPager} that will host the section contents.
hellocharts-samples/src/lecho/lib/hellocharts/samples/ViewPagerChartsActivity.java