Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bottom Navigation does not work with Navigation Components #48

Open
Vaibhav2002 opened this issue Feb 13, 2022 · 5 comments · May be fixed by #50
Open

Bottom Navigation does not work with Navigation Components #48

Vaibhav2002 opened this issue Feb 13, 2022 · 5 comments · May be fixed by #50
Assignees

Comments

@Vaibhav2002
Copy link

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
Copy link
Author

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

@Droppers
Copy link
Owner

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

@Vaibhav2002
Copy link
Author

Vaibhav2002 commented Feb 13, 2022

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,

@forceporquillo
Copy link

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?

@Vaibhav2002
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants