title: Navigate to a Fragment of another Activity by SearchActivity
body: <p>In my App I'm using the <a href="https://developer.android.com/guide/navigation" rel="nofollow noreferrer">Android Navigation Component</a>.
  My MainActivity has a NavigationGraph and I can navigate properly. Since I also need to implemend Search functionality I added a <a href="https://developer.android.com/guide/topics/search/search-dialog#UsingSearchWidget" rel="nofollow noreferrer">SearchActivity</a> with a SearchFragment. The Search shows a RecyclerView with the Resultset. When I click one of these Results I want to navigate to the specific Fragment of MainActivity.</p>
  <p>Unfortunately the App just Navigates to the first Fragment of MainActivity. How do I navigate to a Fragment of another Activity?</p>
  <p>NavGraph of MainActivity:
  <a href="https://i.stack.imgur.com/gdjHg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gdjHg.png" alt="NavGraph of MainActivity" /></a></p>
  <p>NavGraph of SearchActivity:
  <a href="https://i.stack.imgur.com/ZmDCB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZmDCB.png" alt="NavGraph of SearchActivity" /></a></p>
  <p>I navigate to the Fragment of MainActivity by this:</p>
  <pre><code>Bundle bundle = new Bundle();
  
  bundle.putInt(SessionFragment.ARG_PARAM1, mSessions.get(position).session.getId());
  navController.navigate(R.id.sessionFragment, bundle);
  </code></pre>
  <p>Any ideas?</p>