AnimatedBottomBar icon indicating copy to clipboard operation
AnimatedBottomBar copied to clipboard

Bottom Navigation does not work with Navigation Components

Open Vaibhav2002 opened this issue 4 years ago • 5 comments

Issues

  • Bottom Navigation is not working correctly with Navigation Components
  • Fragment is not changing when bottom nav item is pressed
  • Sample code shown in the NavControllerActivity is wrong
  • No Documentation regarding configuration with Navigation Components in README.md

Vaibhav2002 avatar Feb 13 '22 15:02 Vaibhav2002

Can you assign this issue to me? I can fix these.

Vaibhav2002 avatar Feb 13 '22 15:02 Vaibhav2002

Sure! What exactly do you mean with fragment is not changing, the sample app appears to be functioning fine?

Droppers avatar Feb 13 '22 15:02 Droppers

Sure! What exactly do you mean with fragment is not changing, the sample app appears to be functioning fine?

I just added integrated this library in my app , when I press the items in bottom nav, the fragment does not change, the initial fragment which is set as home in the navigation graph, is only displayed,

Vaibhav2002 avatar Feb 13 '22 15:02 Vaibhav2002

Sure! What exactly do you mean with fragment is not changing, the sample app appears to be functioning fine?

I just added integrated this library in my app , when I press the items in bottom nav, the fragment does not change, the initial fragment which is set as home in the navigation graph, is only displayed,

Did you try to match both ids of the menu item and the fragment id in the navigation graph?

forceporquillo avatar Mar 01 '22 22:03 forceporquillo

Did you try to match both ids of the menu item and the fragment id in the navigation graph?

Yes , the id's are same

Vaibhav2002 avatar Mar 02 '22 12:03 Vaibhav2002