createFragmentFactory

inline fun <T : Fragment> createFragmentFactory(noinline factory: () -> T): SingleFragmentFactory<T>

Creates a FragmentFactory for a single type of Fragment using the result of the given factory closure.