protected void restoreLessonStudents() { if (jC.getVisits() != null) lessonsSelector.setLessonTitle(selectedLesson); if (!selectedGroup.isEmpty() && selectedLesson != null) { lessonsSelector.restoreState(jC.getLessons(selectedGroup, selectedSemester)); studentList.restoreState(jC.getStudents(selectedGroup)); } else { groupSelectorSeparateLine.setVisibility(View.INVISIBLE); } }
protected void handleVisitsQuery() { LightVisits lightVisits = jC.getVisits(); dateSlider.setData(lightVisits.getExercisesInfo()); tableWithMarks.createTable(lightVisits, jC.getStudents(selectedGroup)); studentList.setStudents(jC.getStudents(selectedGroup)); if (groupSelectorSeparateLine.getVisibility() == View.INVISIBLE) { groupSelectorSeparateLine.setVisibility(View.VISIBLE); } }