title: How to load a fragment on button click in Kotlin?
body: <p>Below is a picture of a &quot;practice&quot; application that I am working on.
  I want to swipe the fragment (which is in the middle in gray color) with second fragment that I have, on the click of a &quot;next button&quot;.
  How can I &quot;load&quot; another fragment on button click in Android, using Kotlin?</p>
  <p><a href="https://i.stack.imgur.com/rcfiF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rcfiF.jpg" alt="A picture of application, for better understanding of a problem" /></a></p>