- context
- The calling context being used to instantiate the fragment. This is currently just used to get its ClassLoader.
- fname
- The class name of the fragment to instantiate.
- args
- Bundle of arguments to supply to the fragment, which it can retrieve with Fragment.Arguments. May be null.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.InstantiationException If there is a failure in instantiating the given fragment class. This is a runtime exception; it is not normally expected to happen.
Create a new instance of a Fragment with the given class name. This is the same as calling its empty constructor.