Lines Matching defs:fname
594 public static Fragment instantiate(Context context, String fname) {
595 return instantiate(context, fname, null);
604 * @param fname The class name of the fragment to instantiate.
612 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) {
614 Class<?> clazz = sClassMap.get(fname);
617 clazz = context.getClassLoader().loadClass(fname);
619 throw new InstantiationException("Trying to instantiate a class " + fname
622 sClassMap.put(fname, clazz);
631 throw new InstantiationException("Unable to instantiate fragment " + fname
635 throw new InstantiationException("Unable to instantiate fragment " + fname
639 throw new InstantiationException("Unable to instantiate fragment " + fname
643 throw new InstantiationException("Unable to instantiate fragment " + fname
646 throw new InstantiationException("Unable to instantiate fragment " + fname