Code example for FragmentActivity

Methods: getMenuInflater

0
	private ActionModeCompat mActionModeCompat;
 
	private int mWindowFeatureId;
 
	public MenuInflater getBaseMenuInflater() {
		return super.getMenuInflater(); 
	} 
 
	@Override 
	public MenuInflater getMenuInflater() {
		return mActionBarCompat.getMenuInflater(super.getMenuInflater());
	} 
 
	public ActionBar getSupportActionBar() {
		return mActionBarCompat.getActionBar();
	} 
 
	public void invalidateSupportOptionsMenu() { 
		if (mActionBarCompat instanceof ActionBarCompatNative) {
			MethodsCompat.invalidateOptionsMenu(this);
		} else if (mActionBarCompat instanceof ActionBarCompatBase) {