How to change a Menu of a NavigationView programmatically?
Hello I'm wondering how can I change a Menu ID from a NavigationView, in this case it is triggered when the user clicks on a RadioButton, I have that part already but I just need to know how to change the Menu, so in the menu it will display different options when clicked a RadioButton
private var radioAdm:RadioButton? = null
private var radioAtle:RadioButton? = null
private var atletanav:BottomNavigationView? = null
private var menuopt = "@menu/admin_menu"
override fun...