sprockets/src/main/java/net/sf/sprockets/app/Fragments.java
@SuppressLint("CommitTransaction")
    private static FragmentTransaction transit(FragmentManager fm, int transit) {
        return fm != null ? fm.beginTransaction().setTransition(transit) : null;
    }
@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.

@return null if the FragmentManager is null