app / com.otago.open / CourseItem / <init>

<init>

CourseItem(imageResource: Int, courseName: String, courseUrl: String, courseCode: String, selected: Boolean)

Data Class for the Course items in the SelectFragment

Parameters

imageResource - The image from the project to use

courseName - The name of the course

courseUrl - The (probable) url to the course web-page, e.g. https://cs.otago.ac.nz/cosc345

courseCode - The paper code for the given course

selected - Whether the paper should appear selected in the course list