示例#1
0
 public static ClassmateFragment newInstance(Exam exam, Classmate classmate) {
   ClassmateFragment f = new ClassmateFragment();
   Bundle bdl = new Bundle();
   bdl.putInt(EXTRA_EXAM_ID, exam.getId());
   bdl.putInt(EXTRA_ID, classmate.getId());
   f.setArguments(bdl);
   return f;
 }
示例#2
0
 @Override
 public String getTitle() {
   return mClassmate.getName();
 }