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