0

I have a bottom navigation view with 5 tabs. I am using Nav Graph and linked the bottom nav view with the navigation graph.

My requirement is to have three out of the five tabs to work with Nav Graph and the other two with normal support fragment manager.

Is this something possible or I have to use a navigation graph for all five items. What's the best approach to accomplish this?

Thanks.

Farooq Arshed
  • 1,984
  • 2
  • 17
  • 26

2 Answers2

0

You can create different nav graphs for different tabs and in the activity, you need to mention all the nav graphs so that the navcontroller can handle them further.

And the best way to get more about this is to gaze upon documentation.

Please feel free to ask if something is unclear.

Kamal Nayan
  • 1,635
  • 1
  • 5
  • 19
0

No need to create different graphs. Nav component is updated. You can navigate to anywhere from the bottom navigation bar within the same graph. check here.

Sayed Talha
  • 119
  • 8