Code example for ActionBar.Tab

Methods: getPosition

0
 
	} 
 
	public void onTabSelected(Tab arg0, android.app.FragmentTransaction arg1)
	{ 
		MainNavigationActivity.viewPager.setCurrentItem(arg0.getPosition());
	} 
 
	public void onTabUnselected(Tab arg0,
			android.app.FragmentTransaction arg1){
		// TODO Auto-generated method stub 
 
	} 
}