package Ġtau fi q . apps . consumer app Ċ Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġco il . load Ċ import Ġco il . transform . Circle Crop Transformation Ċ import Ġtau fi q . apps . consumer app . databinding . Item Favorite Row Binding Ċ Ċ /** Ċ Ġ* ĠCreated ĠBy ĠT au fi q Ġon Ġ 3 / 1 7 / 2 0 2 1 . Ċ Ġ* Ċ Ġ*/ Ċ class ĠF avorite ViewHolder ( private Ġval Ġbinding : ĠItem Favorite Row Binding ) Ġ: ĊĠĠĠ ĠRecyclerView . ViewHolder ( binding . root ) Ġ{ ĊĊĠĠĠ Ġfun Ġbind List ( user Fav s : ĠF avorite User ) Ġ{ ĊĠĠĠĠĠĠĠ Ġbinding . tv Username Fav . text Ġ= Ġuser Fav s . username ĊĠĠĠĠĠĠĠ Ġbinding . iv User Fav . load ( user Fav s . avatar Url ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtransformations ( Circle Crop Transformation ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }