title: Fragments deprecated in Android P
body: <p>I was looking at the <a href="https://developer.android.com/reference/android/app/Fragment.html" rel="noreferrer">documentation</a> and found this</p>
  <blockquote>
  <p>This class was deprecated in API level P.</p>
  </blockquote>
  <p>Why are fragments deprecated in android P?</p>