Code example for FragmentManager.BackStackEntry

Methods: getName

0
 
				// getting the backstackentry of the latest fragment added. 
				BackStackEntry backStackEntry = fragmentManager.getBackStackEntryAt( backStackEntryCount - 1 );
 
				// getting the name of the fragment. 
				fragmentName = backStackEntry.getName();
				backStackEntry = null;
			} 
		} 
		fragmentManager = null;
		return fragmentName;
	} 
 
 
	/** 
	 *  checking if the fragment exists in the fragment back stack or not. 
	 */ 
	public boolean checkIfFragmentExists ( String fragmentName ) {
 
		FragmentManager fragmentManager = RewardApplication.getFragmentManager();