package Ġru . v dv . myapp . my readers di ary . ui . common . view holders Ċ Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġru . v dv . myapp . my readers di ary . databinding . ItemList User Card Binding Ċ Ċ class ĠUser Card ViewHolder ( ĊĠĠĠ Ġli : ĠLayoutInflater , ĊĠĠĠ Ġparent : ĠViewGroup , ĊĠĠĠ Ġbinding : ĠItem List User Card Binding Ġ= ĠItem List User Card Binding . inflate ( li , Ġparent , Ġfalse ) Ċ ) Ġ: ĠRecyclerView . ViewHolder ( binding . root ) Ġ{ ĊĠĠĠ Ġvar Ġuser Avatar Ġ= Ġbinding . iv User Avatar ĊĠĠĠ Ġvar Ġuser Background Ġ= Ġbinding . iv User Custom Bg ĊĠĠĠ Ġvar Ġmaterial Card View Ġ= Ġbinding . m cv User Card Ċ }