public static < F extends Fragment > FragmentBundler < F > create ( Class < F > klass ) { try { return create ( klass . newInstance ( ) ) ; } catch ( InstantiationException e ) { throw new IllegalArgumentException ( "Class must have a no-arguments constructor." ) ; } catch ( IllegalAccessException e ) { throw new IllegalArgumentException ( "Class must have a no-arguments constructor." ) ; } }
Constructs a FragmentBundler for the provided Fragment class