package Ġcom . software hut . mvp playground . domain . custom List Ċ Ċ import Ġandroid . support . v 7 . recyclerview . extensions . ListAdapter Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . ViewGroup Ċ import Ġcom . software hut . mvp playground . R Ċ Ċ class ĠItems Adapter Ġ: ĠList Adapter < Custom ListItem , ĠCustom List Fragment . ViewHolder >( Items Diff ()) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ViewHolder ( parent : ĠViewGroup , Ġview Type : ĠInt ): ĠCustom List Fragment . ViewHolder Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġlayout Inflater Ġ= ĠLayoutInflater . from ( parent . context ) ĊĠĠĠĠĠĠĠ Ġreturn ĠCustom List Fragment . ViewHolder ( layout Inflater . inflate ( R . layout . view _ custom _ list _ item , Ġparent , Ġfalse )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Bind ViewHolder ( holder : ĠCustom List Fragment . ViewHolder , Ġposition : ĠInt ) Ġ{ ĊĠĠĠ Ġ} Ċ }