instantiate
open fun instantiate(@NonNull context: Context, @NonNull className: String, @Nullable arguments: Bundle): Fragment
Deprecated
Use setFragmentFactory to control how Fragments are instantiated.
Creates an instance of the specified fragment, can be overridden to construct fragments with dependencies, or change the fragment being constructed. By default just calls instantiate.