Transition Fragments upon return

0

I have a DrawerLayout that controls my fragments. However 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. However, when you click the back button, even though you return from B to A normally, the selected menu item does not change. Is there any function or method that controls this?

    
asked by anonymous 01.10.2018 / 21:00

0 answers