package Ġcom . solar . recyclerview . adapter . paging Ċ Ċ import Ġandroidx . paging . Paging Data Adapter Ċ import Ġandroidx . recyclerview . widget . Diff Util Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . solar . recyclerview . adapter . holder . ItemType Ċ Ċ abstract Ġclass ĠBase Paged ListAdapter < T Ġ: ĠItem Type , ĠV H Ġ: ĠRecyclerView . ViewHolder >( ĊĠĠĠ Ġdiff Callback : ĠDiff Util . Item Callback < T > Ċ ) Ġ: ĠP aging Data Adapter < T , ĠV H >( diff Callback ) Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠgetItem ViewType ( position : ĠInt ): ĠInt Ġ= ĠgetItem ( position )?. layout Res ?: 0 Ċ Ċ } Ċ