2
I created a menu with buttons to save, back and add, and would like when you click add it to be hidden or disabled. I tried to use MenuItem item = menu.findItem(R.id.my_item); in which I saw in this topical but gets red striped under the line and the message unreachable statement is displayed when I hover over it. any hint of how to hide the item in the menu ?
navViewis not recognized– Fabio Souza
navViewis the name of my attributeNavigationView. Just change the name you’re using– LMaker