Esempio n. 1
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    int id = getArguments().getInt(EXTRA_ID);
    mExam = getMainActivity().getExams().find(id);
  }
Esempio n. 2
0
  @Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    int examId = getArguments().getInt(EXTRA_EXAM_ID);
    int id = getArguments().getInt(EXTRA_ID);
    Exam exam = getMainActivity().getExams().find(examId);
    mClassmate = exam.getClassmates().find(id);
  }
Esempio n. 3
0
  @Override
  public void onResume() {
    super.onResume();

    getMainActivity().setSelectedExam(mExam);
  }