I have an app with a bottom navigation menu and corresponding fragments. when I change among these of fragments, then I click on back button, it actually back to the previous fragment but the icon on bottom menu does not change. How can I back to the previous fragment with icon checked on menu
change as well.
Asked
Active
Viewed 20 times
0

Cam
- 21
- 1
-
Does this answer your question? [Set initially selected item index/id in BottomNavigationView](https://stackoverflow.com/questions/40236786/set-initially-selected-item-index-id-in-bottomnavigationview) – Pisoj Aug 02 '23 at 18:01