Droppers / AnimatedBottomBar

A customizable and easy to use BottomBar navigation view with sleek animations, with support for ViewPager, ViewPager2, NavController, and badges.
MIT License
1.38k stars 109 forks source link

Bottom Navigation does not work with Navigation Components #48

Open Vaibhav2002 opened 2 years ago

Vaibhav2002 commented 2 years ago

Issues

Vaibhav2002 commented 2 years ago

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

Droppers commented 2 years ago

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

Vaibhav2002 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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