package Ġcom . ero om . er oo ja . binding Ċ Ċ import Ġandroidx . databinding . Binding Adapter Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġcom . google . android . material . bottomnavigation . Bottom Navigation View Ċ Ċ @ Binding Adapter (" select Listener ") Ċ fun Ġset Navigation ChangeListener ( navigation : ĠBottom Navigation View , Ġlistener : ĠBottom Navigation View . On Navigation ItemSelected Listener ?) Ġ{ ĊĠĠĠ Ġlistener ?. let Ġ{ ĊĠĠĠĠĠĠĠ Ġnavigation . setOn Navigation ItemSelected Listener ( it ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ @ Binding Adapter (" scroll Adapter ") Ċ fun Ġset Scroll Adapter ( re cyclerView : ĠRecyclerView , Ġlistener : ĠRecyclerView . On Scroll Listener ) Ġ{ ĊĠĠĠ Ġre cyclerView . add On Scroll Listener ( listener ) Ċ }