package Ġcom . numero . it ube . ui . video . detail . playlist . item Ċ Ċ import Ġcom . numero . it ube . R Ċ import Ġcom . numero . it ube . model . Playlist Detail Ċ import Ġcom . numero . it ube . model . Playlist Id Ċ import Ġcom . x wr ay . group ie . kotlin and roi dex t ensions . Item Ċ import Ġcom . x wr ay . group ie . kotlin and roi dex t ensions . ViewHolder Ċ import Ġkotlinx . android . synt hetic . main . item _ playlist _ header .* Ċ Ċ class ĠPlaylist Header Item ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġplaylist Detail : ĠPlaylist Detail , ĊĠĠĠĠĠĠĠ Ġprivate Ġval ĠonClick Edit Playlist Listener : Ġ( playlist Id : ĠPlaylist Id ) Ġ-> ĠUnit Ċ ) Ġ: ĠItem () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġget Layout (): ĠInt Ġ= ĠR . layout . item _ playlist _ header ĊĊĠĠĠ Ġoverride Ġfun Ġbind ( view Holder : ĠViewHolder , Ġposition : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ ĠviewHolder . title TextView . text Ġ= Ġplaylist Detail . title ĊĠĠĠĠĠĠĠ ĠviewHolder . edit Play List Button . setOnClickListener Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠonClick Edit Playlist Listener ( playlist Detail . id ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ Ċ }