package Ġk nf . k uma . tv . cards Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . widget . ImageView Ċ import Ġk nf . k uma . R Ċ import Ġk nf . k uma . tv . Bind able Card View Ċ import Ġkotlinx . android . synt hetic . main . item _ tv _ card . view .* Ċ Ċ class ĠTag Card View ( context : ĠContext ) Ġ: ĠBind able Card View < String >( context ) Ġ{ ĊĊĠĠĠ Ġoverride Ġval ĠimageView : ĠImageView ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġimg ĊĠĠĠ Ġoverride Ġval Ġlayout Resource : ĠInt ĊĠĠĠĠĠĠĠ Ġget () Ġ= ĠR . layout . item _ tv _ tag ĊĊĠĠĠ Ġoverride Ġfun Ġbind ( data : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtitle ?. text Ġ= Ġdata ĊĠĠĠ Ġ} Ċ } Ċ