@ file : Suppress (" UN CHECK ED _ CAST ") Ċ Ċ package Ġrv . adapter . recyclerview Ċ Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġrv . adapter . core . X Adapter Ċ Ċ /** Ċ Ġ* Ġget Ġ[ X Adapter ] Ċ Ġ*/ Ċ fun Ġ< T > ĠRecyclerView . x Adapter () Ġ= Ġadapter Ġas ĠX Adapter < T > Ċ Ċ /** Ċ Ġ* ĠInit Ġ[ X Adapter ] Ċ Ġ*/ Ċ fun Ġ< T > ĠRecyclerView . convert Adapter () Ġ= Ġconvert Adapter ( X Adapter < T >()) Ċ Ċ /** Ċ Ġ* ĠInit Ġ[ X Adapter ] Ċ Ġ*/ Ċ fun Ġ< T > ĠRecyclerView . convert Adapter ( adapter : ĠX Adapter < T >) Ġ= ĊĠĠĠ Ġalso Ġ{ Ġset Adapter ( adapter ) Ġ}. x Adapter < T >() Ċ Ċ /** Ċ Ġ* ĠInit Ġ[ X Adapter ] Ċ Ġ*/ Ċ fun Ġ< T > ĠRecyclerView . attach X Adapter () Ġ= Ġattach X Adapter ( X Adapter < T >()) Ċ Ċ /** Ċ Ġ* ĠInit Ġ[ X Adapter ] Ċ Ġ*/ Ċ fun Ġ< T > ĠRecyclerView . attach X Adapter ( adapter : ĠX Adapter < T >) Ġ= Ġalso Ġ{ Ġset Adapter ( adapter ) Ġ} Ċ