title: Android Navigation Component Bottom Navigation Bar With Multiple Backstack - routing from one bottom navigation page to another bottom navigation page
body: <p>i have a question about to the navigation. could you please to help me resolve this.
  There are nav graphs attached to BottomNavigationView and they have separate backstacks.
  my main nav graph :</p>
  <pre><code>&lt;navigation
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      android:id=&quot;@+id/nav_graph&quot;
      app:startDestination=&quot;@+id/nav_graph_home&quot;&gt;
  
      &lt;include app:graph=&quot;@navigation/nav_graph_home&quot;/&gt;
      &lt;include app:graph=&quot;@navigation/nav_graph_list&quot;/&gt;
      &lt;include app:graph=&quot;@navigation/nav_graph_form&quot;/&gt;
  
  &lt;/navigation&gt;
  </code></pre>
  <p>In this way, I want to switch from the home screen to the leaderboard page without clicking the bottom navigation.</p>
  <pre><code>findNavController().navigate(R.id.nav_graph_list)
  </code></pre>
  <p>I want to redirect from a bottom navigation graph to a page in another bottom nav graph. For example, there is a place in the toolbar where the user’s scores are displayed, and when I click on it, I want to send it to the “Points” page. But the “Points” page exists as a tab in the bottom navigation. Since I did not select this tab from the bottom navigation when I made this redirect, I still go to this page by continuing from the backstack of the first page. Then, when I go to the page I’m directed to by clicking the menu item on the bottom navigation instead of using the back button, nothing happens because I’m already in the backstack of the first tab and there is this page somewhere under the backstack. I also want to know if this is a correct way for android navigation component.</p>
  <p>My question is what is the best way to go from one bottom navigation page to another bottom navigation page like this. Or has anyone solved or encountered this problem?</p>
  <p>I have also attached the video of the problem.
  I will be grateful if you could help me. Thanks.</p>
  <p><a href="https://i.stack.imgur.com/zs3fp.gif" rel="nofollow noreferrer">gif of this bug</a></p>
  <p>full issue gif : <a href="https://i.imgur.com/SP1A4JF.mp4" rel="nofollow noreferrer">https://i.imgur.com/SP1A4JF.mp4</a></p>
  <p>Full issue video : <a href="https://www.veed.io/view/19ae36b0-42d3-4e8d-b1bf-fd15c51e04be" rel="nofollow noreferrer">https://www.veed.io/view/19ae36b0-42d3-4e8d-b1bf-fd15c51e04be</a></p>