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