Skip to content

Instantly share code, notes, and snippets.

@the-dagger
Created December 28, 2017 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save the-dagger/1cf2489b0fdcee6cb84eab53020b235e to your computer and use it in GitHub Desktop.
Save the-dagger/1cf2489b0fdcee6cb84eab53020b235e to your computer and use it in GitHub Desktop.
class CourseViewHolder(itemView: View?) : RecyclerView.ViewHolder(itemView) {
fun bindView (course: Course) {
itemView.studentName.text = s.name
itemView.studentSubject.text = s.subject
itemView.studentCenter.text = s.center
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment