use of com.tevinjeffrey.rutgersct.ui.utils.CircleView in project Rutgers-Course-Tracker by tevjef.
the class TrackedSectionVH method newInstance.
public static TrackedSectionVH newInstance(View parent) {
SectionInfoVH sectionInfoVH = SectionInfoVH.newInstance(parent);
TextView courseTitleText = ButterKnife.findById(parent, R.id.course_title_text);
TextView instructors = sectionInfoVH.mInstructors;
CircleView sectionNumberBackground = sectionInfoVH.mSectionNumberBackground;
ViewGroup sectionTimeContainer = sectionInfoVH.mSectionTimeContainer;
return new TrackedSectionVH(parent, instructors, courseTitleText, sectionNumberBackground, sectionTimeContainer);
}
use of com.tevinjeffrey.rutgersct.ui.utils.CircleView in project Rutgers-Course-Tracker by tevjef.
the class CourseInfoVH method newInstance.
public static CourseInfoVH newInstance(View parent) {
SectionInfoVH sectionInfoVH = SectionInfoVH.newInstance(parent);
TextView instructors = sectionInfoVH.mInstructors;
CircleView sectionNumberBackground = sectionInfoVH.mSectionNumberBackground;
ViewGroup sectionTimeContainer = sectionInfoVH.mSectionTimeContainer;
return new CourseInfoVH(parent, instructors, sectionNumberBackground, sectionTimeContainer);
}
Aggregations