title: setupWithNavController method for toolbar no longer available?
body: <p>so previously I had crash with error:</p>
  
  <blockquote>
    <p>You must call setGraph() before calling getGraph()</p>
  </blockquote>
  
  <p>then after reading the solution frem <a href="https://stackoverflow.com/questions/59290968/you-must-call-setgraph-before-calling-getgraph">here</a>. it is said that I have to use these lines on my gradle</p>
  
  <pre><code>implementation "androidx.navigation:navigation-fragment:2.3.0-alpha02"
  implementation "androidx.navigation:navigation-ui:2.3.0-alpha02"
  </code></pre>
  
  <p>and the error is dissapear. but now I no longer can find <code>setupWithNavController</code> method. usually I use this line</p>
  
  <pre><code>toolbar.setupWithNavController(navController,appBarConfiguration)
  </code></pre>
  
  <p>but I no longer find that method. what should I do ?</p>
  
  <p><a href="https://i.stack.imgur.com/Tk089.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tk089.png" alt="enter image description here"></a></p>