package Ġcom . jud okit . android . examples . feature . adapter Ċ Ċ import Ġandroid . view . View Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . jud okit . android . examples . common . Bind able RecyclerView Holder Ċ import Ġcom . jud okit . android . examples . model . Demo Feature Ċ import Ġkotlinx . android . synt hetic . main . item _ demo _ feature . view .* Ċ Ċ open Ġclass ĠDemo Feature Item ViewHolder ( view : ĠView ) Ġ: ĊĠĠĠ ĠRecyclerView . ViewHolder ( view ), ĊĠĠĠ ĠBind able RecyclerView Holder < Demo Feature > Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġbind ( model : ĠDemo Feature , Ġlistener : Ġ(( Demo Feature ) Ġ-> ĠUnit )? ) Ġ= Ġwith ( item View ) Ġ{ ĊĠĠĠĠĠĠĠ Ġtitle TextView . setText ( model . title ) ĊĠĠĠĠĠĠĠ Ġsur title TextView . setText ( model . sur Title ) ĊĠĠĠĠĠĠĠ Ġset OnClickListener Ġ{ Ġlistener ?. invoke ( model ) Ġ} ĊĠĠĠ Ġ} Ċ } Ċ