title: How to change Fragment Kotlin
body: <p>I'm starting in Kotling and I don't know how to change between fragments, I have tried this code:</p>
  
  <pre><code>val manager = supportFragmentManager
      val transaction = manager.beginTransaction()
      transaction.add(R.layout.fragment_information.toInt(), ComplainFragment())
      transaction.commit()
  </code></pre>
  
  <blockquote>
    <p>R.layout.fragment_information.toInt()</p>
  </blockquote>
  
  <p>But i have an error with this parameter because it doesn't find the fragment Id.</p>