package Ġcom . sch ae fer . my movies . presentation . screens . details . show . adapter Ċ Ċ import Ġandroid . view . View Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . bump tech . glide . G lide Ċ import Ġcom . sch ae fer . my movies . R Ċ import Ġcom . sch ae fer . my movies . presentation . adapters . show . On ItemClickListener Ċ import Ġcom . sch ae fer . my movies . presentation . model . Show Ċ import Ġkotlinx . android . extensions . Layout Container Ċ import Ġkotlinx . android . synt hetic . main . item _ card _ image .* Ċ Ċ class ĠShow ListItem ViewHolder ( ĊĠĠĠ ĠitemView : ĠView Ċ ) Ġ: ĠRecyclerView . ViewHolder ( item View ), ĠLayout Container Ġ{ ĊĊĠĠĠ Ġfun Ġbind ( show : ĠShow , Ġitem ClickListener : ĠOn ItemClickListener ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtv Item Show Name . text Ġ= Ġshow . name ĊĊĠĠĠĠĠĠĠ ĠG lide . with ( item View ). load ( show . image ?. original ). center Crop () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. placeholder ( R . drawable . show _ placeholder ). into ( iv Item Post er ) ĊĊĠĠĠĠĠĠĠ ĠitemView . setOnClickListener Ġ{ Ġitem ClickListener . on Item Click ( show ) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġval Ġcontainer View : ĠView ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠitemView Ċ }