Code example for FragmentActivity

Methods: onBackPressed

0
	public void onBackPressed() { 
		if(recursiveFragment.canNavigate()) {
			recursiveFragment.pop();
			return; 
		} 
		super.onBackPressed(); 
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java