Matic
12/13/2021, 8:12 PMfindNavController(R.id.nav_host_fragment_content_main).navigate(R.id.settingsFragment)
I'm using this inside onOptionsItemSelected in the activity (I am trying to a settings fragment when I click on the button in ActionBar).
Although this is working, if I click on the settings 5 times, I also need to click back 5 times.
I am aware this is intended behaviour, but I can't seem to find how to avoid this.Ruckus
12/13/2021, 8:35 PMMatic
12/13/2021, 8:50 PM