0
I have a Drawerlayout that controls my Ragments. But I have the following problem: if I am in Fragment A the corresponding menu item is highlighted, when selecting Fragment b , the item is also highlighted correctly. But when you click the back button, although it goes back from B to A normally, the selected menu item does not change. Is there any function or method that controls this?
Navigationview.setCheckedItem(@Intres id);
– Lennoard Silva
Unfortunately it didn’t work
– Souza97