package Ġio . github . fe elf re el inux . wy kop mob il ny . ui . adapters . view holders Ċ Ċ import Ġandroid . view . View Ċ import Ġio . github . fe elf re el inux . wy kop mob il ny . models . dataclass . Up v oter Ċ import Ġio . github . fe elf re el inux . wy kop mob il ny . ui . modules . profile . Profile Activity Ċ import Ġio . github . fe elf re el inux . wy kop mob il ny . utils . api . getGroup Color Ċ import Ġio . github . fe elf re el inux . wy kop mob il ny . utils . to Pretty Date Ċ import Ġkotlinx . android . synt hetic . main . conversation _ list _ item . view .* Ċ Ċ class ĠUp v oter ViewHolder ( val Ġview : ĠView ) Ġ: Ġandroidx . recyclerview . widget . RecyclerView . ViewHolder ( view ) Ġ{ ĊĊĠĠĠ Ġfun Ġbind View ( up v oter : ĠUp v oter ) Ġ{ ĊĠĠĠĠĠĠĠ Ġview . author Avatar View . set Author ( up v oter . author ) ĊĠĠĠĠĠĠĠ Ġview . userName TextView . apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtext Ġ= Ġup v oter . author . nick ĊĠĠĠĠĠĠĠĠĠĠĠ Ġset TextColor ( context . getGroup Color ( up v oter . author . group )) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġview . entry Date TextView . text Ġ= Ġup v oter . date . to Pretty Date () ĊĠĠĠĠĠĠĠ Ġview . setOnClickListener Ġ{ Ġview . context . startActivity ( Profile Activity . create Intent ( view . context , Ġup v oter . author . nick )) Ġ} ĊĠĠĠ Ġ} Ċ }