Code example for FragmentTransaction

Methods: hide

0
		} 
	} 
 
	public void onTabUnselected(Tab tab, FragmentTransaction ft) {
		if (tab.equals(mFoodTab)) {
			ft.hide(mFoodFragment);
		} else if (tab.equals(mTailgatesTab)) {
			ft.hide(mTailgateFragment);
		} 
	} 
	 
	@Override 
	public void onTabReselected(Tab tab, FragmentTransaction ft) {
		// TODO Auto-generated method stub 
		 
	} 
	/* 
	public boolean onCreateOptionsMenu(Menu menu) { 
	    MenuInflater inflater = getMenuInflater(); 
	    inflater.inflate(R.menu.main_activity_menu, menu); 
	    return true;