Skip to content

Instantly share code, notes, and snippets.

@hafizrahman
Created April 20, 2020 08:04
Show Gist options
  • 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