private String getLoadingString() { if (isLoading) { return context.getString(R.string.text_please_wait); } else if (app.getSubjectCount() == 0) { return context.getString(R.string.text_no_subjects); } else { return context.getString(R.string.text_no_subjects_in_time); } }
void loadData() { this.mSubjects = app.getVisibleSubjects(); }