title: Type mismatch: inferred type is FragmentActivity? but Context was expected when updating the support library to 27.0.0
body: <p>I've updated my Kotlin project to use support library 27.0.0. When I try to get the Activity context in a Fragment I'm getting this error:</p>
  
  <pre><code>&gt; Type mismatch: inferred type is FragmentActivity? but Context was expected
  </code></pre>