package Ġcom . github . y uk 7 . x posed . pixel izer x . ui Ċ Ċ import Ġandroidx . databinding . Binding Adapter Ċ import Ġcom . google . android . material . bottomnavigation . Bottom Navigation View Ċ import Ġcom . google . android . material . navigation . NavigationBar View Ċ Ċ class ĠBinding Adapter Ġ{ ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġ@ Jvm Static ĊĠĠĠĠĠĠĠ Ġ@ Binding Adapter (" on Navigation ItemSelected ") ĊĠĠĠĠĠĠĠ Ġfun Ġset On Navigation ItemSelected ( view : ĠBottom Navigation View , Ġlistener : ĠNavigation Bar View . On ItemSelected Listener ? ){ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġview . setOn ItemSelected Listener ( listener ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }