title: What is the difference between "by navArgs<ScoreFragmentArgs>()" vs "ScoreFragmentArgs.fromBundle(arguments!!)"
body: <pre><code>val scoreFragmentArgs1 by navArgs&lt;ScoreFragmentArgs&gt;() 
  
  val scoreFragmentArgs2 = ScoreFragmentArgs.fromBundle(arguments!!)
  </code></pre>
  
  <p>I'm able to access the arguments that was passed from the previous fragment using any of above statements. Can someone explain the difference and when to use each. Thanks in advance </p>