-
-
Save okanaydin/b8709b30fc188ad1948e744ccb61235f to your computer and use it in GitHub Desktop.
UserDetailViewHolder
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
inner class UserDetailViewHolder(val binding: ViewUserDetailBinding) | |
:RecyclerView.ViewHolder(binding.root) { | |
fun bind(userDetail: UserDetail) { | |
binding.textviewUserName = userDetail.name | |
binding.textviewUserAge = userDetail.age | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment