title: Kotlin: FragmentManager is showing error when called from Fragment [working with Adapter]
body: <p>AdapterClass:</p>
  
  <pre><code>class TeamsAdapter(
  supportFragmentManager: FragmentManager,
  teams_list: MutableList&lt;Team&gt;,
  match_id: String
  ) : FragmentPagerAdapter(supportFragmentManager) {code}
  </code></pre>
  
  <p>Fragment Class:</p>
  
  <pre><code>lateinit var teamsAdapter: TeamsAdapter
  
  teamsAdapter = TeamsAdapter(supportFragmentManager, match?.teams!!, matchId)
  </code></pre>
  
  <p>Error: <code>Unresolved reference: supportFragmentManager</code></p>
  
  <p>But the entire code works fine when inside an Activity instead of Fragment Class.</p>