Skip to content

Instantly share code, notes, and snippets.

@hafizrahman
Created April 20, 2020 08:04
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 hafizrahman/12eac3c3d95e3ab49865b76d2ba6147b to your computer and use it in GitHub Desktop.
Save hafizrahman/12eac3c3d95e3ab49865b76d2ba6147b to your computer and use it in GitHub Desktop.
Put in the two List<> as constructor parameters in RecyclerViewAdapter
class SubjectRecyclerViewAdapter(
val subjects: List<Subject>,
val reminders: List<Reminder>,
val listener: OnListFragmentInteractionListener?
) : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment