package Ġsan che z . san che z . ser gio . feature _ tv _ detail . ui . tv Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . ViewGroup Ċ import Ġsan che z . san che z . ser gio . feature _ tv _ detail . databinding . Tv Review Item Layout Binding Ċ import Ġsan che z . san che z . ser gio . feature _ tv _ detail . databinding . Tv Review Item Layout Binding Impl Ċ import Ġsan che z . san che z . ser gio . feature _ tv _ detail . domain . model . Review Ċ import Ġsan che z . san che z . ser gio . movie _ add ict s . core . ui . Support Adapter Ċ Ċ /** Ċ Ġ* ĠT v ĠReview ĠList ĠAdapter Ċ Ġ* Ġ@ param Ġcontext Ċ Ġ* Ġ@ param Ġdata Ċ Ġ*/ Ċ class ĠT v Review ListAdapter Ġ( context : ĠContext , Ġdata : ĠMutable List < Review >): ĊĠĠĠ ĠSupport Adapter < Tv Review ListAdapter . Tv Review ViewHolder , ĠReview >( context , Ġdata ) Ġ{ ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* Ġon ĠCreate ĠView ĠH older ĊĠĠĠĠ Ġ* Ġ@ param Ġparent ĊĠĠĠĠ Ġ* Ġ@ param Ġview Type ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġoverride Ġfun ĠonCreate ViewHolder ( parent : ĠViewGroup , Ġview Type : ĠInt ): ĠT v Review ListAdapter . Tv Review ViewHolder Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ ĠT v Review ViewHolder ( Tv Review Item Layout Binding Impl . inflate ( in flater , Ġparent , Ġfalse )) ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠT v ĠReview ĠView ĠH older ĊĠĠĠĠ Ġ* Ġ@ param Ġbinding ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġinner Ġclass ĠT v Review ViewHolder ( private Ġval Ġbinding : ĠT v Review Item Layout Binding ): ĠSupport Adapter . Support ViewHolder < Review >( binding . root ) Ġ{ ĊĠĠĠĠĠĠĠ Ġoverride Ġfun Ġbind ( model : ĠReview ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġwith ( binding ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġreview Ġ= Ġmodel ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }