Code example for FragmentManager

Methods: popBackStack

0
         
    } 
    @Override 
	public void onConditionSubmitted() { 
		FragmentManager fm = getSupportFragmentManager();
		fm.popBackStack();
	} 
 
	@Override 
	public void onConditionCancelled() { 
		FragmentManager fm = getSupportFragmentManager();
		fm.popBackStack();
 
	} 
}