@ SuppressLint ( "CommitTransaction" ) private static FragmentTransaction transit ( FragmentManager fm , int transit ) { return fm != null ? fm . beginTransaction ( ) . setTransition ( transit ) : null ; }
Begin a transaction that uses the transition .