Lines Matching defs:instantiate
88 public Fragment instantiate(Activity activity, Fragment parent) {
97 mInstance = Fragment.instantiate(activity, mClassName, mArguments);
163 * The framework will often re-instantiate a fragment class when needed,
165 * constructor to instantiate it. If the empty constructor is not available,
526 * Thrown by {@link Fragment#instantiate(Context, String, Bundle)} when
556 * Like {@link #instantiate(Context, String, Bundle)} but with a null
559 public static Fragment instantiate(Context context, String fname) {
560 return instantiate(context, fname, null);
567 * @param context The calling context being used to instantiate the fragment.
569 * @param fname The class name of the fragment to instantiate.
577 public static Fragment instantiate(Context context, String fname, Bundle args) {
592 throw new InstantiationException("Unable to instantiate fragment " + fname
596 throw new InstantiationException("Unable to instantiate fragment " + fname
600 throw new InstantiationException("Unable to instantiate fragment " + fname
1193 * Called to have the fragment instantiate its user interface view.