package Ġcom . remember . remember . ui . notifications . adapter Ċ Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . remember . remember . R Ċ import Ġcom . remember . repository . model . notification . Mem ories Ċ Ċ class ĠRecyclerView Adapter Mem ories ( ĊĠĠĠ Ġprivate Ġval Ġmem ories : ĠList < Mem ories > Ċ ) Ġ: ĠRecyclerView . Adapter < ViewHolder Mem ories >() Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠonCreate ViewHolder ( parent : ĠViewGroup , Ġview Type : ĠInt ): ĠViewHolder Mem ories Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġview Ġ= ĠLayoutInflater . from ( parent . context ). inflate ( R . layout . app _ mem ories _ item , Ġparent , Ġfalse ) ĊĠĠĠĠĠĠĠ Ġreturn ĠViewHolder Mem ories ( view ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠgetItem Count () Ġ= Ġmem ories . count () ĊĊĠĠĠ Ġoverride Ġfun Ġon Bind ViewHolder ( holder : ĠViewHolder Mem ories , Ġposition : ĠInt ) Ġ= ĠUnit Ċ } Ċ Ċ class ĠViewHolder Mem ories ( private Ġval Ġview : ĠView ) Ġ: ĠRecyclerView . ViewHolder ( view ) Ċ