androidkotlinandroid-recyclerviewadapterandroid-viewholder

What does binding.root indicates for?


Following is my code snippet.

class DashBoardHolder(val binding: ActivityDashBoardBinding) : RecyclerView.ViewHolder(binding.root) {
    internal var tvName: TextView = itemView.findViewById(R.id.textViewGrandrukName)

Solution