title: How do I link multiple activities in android navigation editor?
body: <p>I'm learning android development and the navigation component, trying to link multiple activities as the <a href="https://developer.android.com/topic/libraries/architecture/navigation/navigation-migrate" rel="noreferrer">document</a> had written. But it seems like it's impossible to create action between two activities to a single navigation graph which was reasonable to me as the document had written.</p>
  
  <blockquote>
    <p>The NavController and its navigation graph is contained within a single activity. Therefore, when migrating an existing project to use the Navigation Architecture Component, focus on migrating one Activity at a time by creating a navigation graph for the destinations within each Activity.</p>
  </blockquote>
  
  <p>So the question is what does the following sentence mean? I could add multiple activities to one navigation graph but couldn't add a link(action) between them.</p>
  
  <blockquote>
    <p>Separate Activities can then be linked by adding activity destinations to the navigation graph, replacing existing usages of startActivity() throughout the code base.</p>
  </blockquote>