I have a problem I am using the new navigation controller from Android Jetpack. I have 3 items in my bottom navigation menu, and the first item has 5 fragments one after another. When I click to the second item in bottom navigation, and return to my first item it opens the first fragment not the last opened. Because android:id="@+id/destination_home"
in Menu is the same as the same as id in my navigation graph.
Can anyone advice the best solution? Thanks