mmm <@U01U6DJ7HPU> i think you could adjust some ...
# android-architecture
m
mmm @Kinnar Vasa i think you could adjust some thing in the main navigation graph... If the tabs are present only in main module, you can adjust the fragment for not using the navigation within the bottom navigation view (i mean, not setting up the bottomnav with the navigation graph). In this case, you can do the following: 1) In main module, do the setup for the bottom nav with a secondary navigation graph. with this, the main navigation graph prepare the navigation between the home fragment (the one with the bottom nav) and the dynamic feature modules (ergo, the external navigation graphs) 2) When created the second navigation graph (the one that handles the click for bottom navigation for home fragment only), in the associated activity, setup the second fragment with the bottom navigation view. ... Another idea: Try adding a
NavController.OnDestinationChangedListener
when initializing the nav controller, in this case, when checking the destinations that are not shown within the tabs, you can control the visibility of the bottom navigation view.