Code example for FragmentActivity

Methods: setProgressBarIndeterminateVisibility

0
 
	public void setSupportProgressBarIndeterminateVisibility(final boolean visible) {
		if (mActionBarCompat instanceof ActionBarCompatBase) {
			((ActionBarCompatBase) mActionBarCompat).setProgressBarIndeterminateVisibility(visible);
		} else { 
			setProgressBarIndeterminateVisibility(visible);
		} 
	} 
 
	public final ActionMode startActionMode(final ActionMode.Callback callback) {
		if (mActionBarCompat instanceof ActionBarCompatBase)
			return mActionModeCompat = new ActionModeCompat((ActionBarCompatBase) mActionBarCompat, callback);
		else 
			return new ActionModeNative(this, callback);
	} 
 
}