use of com.tevinjeffrey.rutgersct.rutgersapi.model.Subject in project Rutgers-Course-Tracker by tevjef.
the class CourseInfoFragment method setShortenedCourseInfo.
private void setShortenedCourseInfo() {
//String offeringUnitCode = mSelectedCourse.getOfferingUnitCode();
Subject subject = mSelectedCourse.getEnclosingSubject();
String courseNumber = mSelectedCourse.getCourseNumber();
if (subject != null) {
String shortenedCourseInfo = subject.getTitle() + " › " + courseNumber;
mShortenedCourseInfo.setText(shortenedCourseInfo);
} else {
Timber.i("http://crashes.to/s/0397fd79332 Selected course: %s\n" + " Course number: %s\n" + " Request: %s", mSelectedCourse, courseNumber, mSelectedCourse.getRequest());
}
}
Aggregations