package Ġid . id n . fa h ru . ber ita app . ui . rv adapter Ċ Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġid . id n . fa h ru . ber ita app . databinding . Ph Item Head line More Top Binding Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠIm am ĠF ahr ur ĠR of i Ġon Ġ 2 3 / 0 6 / 2 0 2 0 . Ċ Ġ*/ Ċ class ĠPlace Holder Adapter Ġ: ĊĠĠĠ ĠRecyclerView . Adapter < RecyclerView . ViewHolder >() Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ViewHolder ( parent : ĠViewGroup , Ġview Type : ĠInt ): ĠRecyclerView . ViewHolder Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġlayout Inflater Ġ= ĠLayoutInflater . from ( parent . context ) ĊĠĠĠĠĠĠĠ Ġval Ġbinding Ġ= ĠPh Item Head line More Top Binding . inflate ( layout Inflater , Ġparent , Ġfalse ) ĊĠĠĠĠĠĠĠ Ġreturn ĠItem Head line More Top PH ( binding ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠgetItem Count (): ĠInt Ġ= Ġ 1 ĊĊĠĠĠ Ġoverride Ġfun Ġon Bind ViewHolder ( holder : ĠRecyclerView . ViewHolder , Ġposition : ĠInt ) Ġ{} ĊĊĠĠĠ Ġinternal Ġclass ĠItem Head line More Top PH ( binding : ĠPh Item Head line More Top Binding ) Ġ: ĊĠĠĠĠĠĠĠ ĠRecyclerView . ViewHolder ( binding . root ) Ċ }