I have been learning android navigation components from codelab, after following through steps, at step 8 I came across to a weird bug.
Steps to reproduce:
- Enter application.
- From the overflow menu select Settings option. SettingsFragment is added and overflow menu is visible.
- Again, select the Settings option from the overflow menu.
- Press back.
see following screenshots mainfragment settings Fragmentafter clicking settings fragment again