package Ġcom . example . meal sm vp . ui . view holders Ċ Ċ import Ġandroid . support . v 7 . widget . RecyclerView Ċ import Ġandroid . view . View Ċ import Ġcom . bump tech . glide . G lide Ċ import Ġcom . example . meal sm vp . ui . adapters . ItemClickListener Ċ import Ġcom . example . meal sm vp . v os . Me al Ċ import Ġkotlinx . android . synt hetic . main . card . view .* Ċ Ċ class ĠMe al ViewHolder Ġ( item View : ĠView , private Ġval Ġitem ClickListener : ĠItem ClickListener ) ĊĠĠĠ Ġ: ĠRecyclerView . ViewHolder ( item View ){ ĊĊĠĠĠ Ġfun Ġbind Data ( meal : Me al ){ ĊĠĠĠĠĠĠĠ ĠG lide . with ( item View ). load ( meal . image ). into ( item View . iv iew ) ĊĠĠĠĠĠĠĠ ĠitemView . t view . text Ġ= Ġme al . str Me al ĊĠĠĠĠĠĠĠ ĠitemView . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġitem ClickListener . on Item Clicked ( meal . id Me al !! ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }