package Ġcom . example . android . polit ical prepared ness . utils ĊĊ Ċ import Ġandroidx . recyclerview . widget . Linear LayoutManager Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . example . android . polit ical prepared ness . base . Base RecyclerView Adapter ĊĊ Ċ /** Ċ Ġ* ĠExtension Ġfunction Ġto Ġsetup Ġthe ĠRecyclerView Ċ Ġ*/ Ċ fun Ġ< T > ĠRecyclerView . setup ( ĊĠĠĠĠĠĠĠ Ġadapter : ĠBase RecyclerView Adapter < T > Ċ ) Ġ{ ĊĠĠĠ Ġthis . apply Ġ{ ĊĠĠĠĠĠĠĠ Ġlayout Manager Ġ= ĠLinearLayoutManager ( this . context ) ĊĠĠĠĠĠĠĠ Ġthis . adapter Ġ= Ġadapter ĊĠĠĠ Ġ} Ċ } Ċ