Lines Matching defs:instantiate
95 public Fragment instantiate(Activity activity, Fragment parent) {
104 mInstance = Fragment.instantiate(activity, mClassName, mArguments);
170 * The framework will often re-instantiate a fragment class when needed,
172 * constructor to instantiate it. If the no-argument constructor is not
548 * Thrown by {@link Fragment#instantiate(Context, String, Bundle)} when
578 * Like {@link #instantiate(Context, String, Bundle)} but with a null
581 public static Fragment instantiate(Context context, String fname) {
582 return instantiate(context, fname, null);
589 * @param context The calling context being used to instantiate the fragment.
591 * @param fname The class name of the fragment to instantiate.
599 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) {
606 throw new InstantiationException("Trying to instantiate a class " + fname
618 throw new InstantiationException("Unable to instantiate fragment " + fname
622 throw new InstantiationException("Unable to instantiate fragment " + fname
626 throw new InstantiationException("Unable to instantiate fragment " + fname
1252 * Called to have the fragment instantiate its user interface view.