I have a menu in my toolbar, it has the following actions:
-
R.id.action_editar
-
R.id.action_salvar
How can I make it so that when I click on the edit action, the save action button becomes visible?
Would this be done in the onOptionsItemSelected () method?
Because I can not call my menu on it to set the second action as visible, is there any way to do this?