Created
May 30, 2021 23:12
-
-
Save k0siara/3b46611ae266fa8db3907a5166db6537 to your computer and use it in GitHub Desktop.
OnBindViewHolder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) { | |
if (holder is CustomViewHolder) { | |
// bind data to the views of CustomViewHolder | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment