instantiate

open override fun instantiate(classLoader: ClassLoader, className: String): Fragment

Creates a fragment instance based on the class name.

Return

The created Fragment instance.

Parameters

classLoader

The ClassLoader to load the fragment class.

className

The name of the fragment class to instantiate.