title: Why AdnroidInjector.inject(fragment) uses deprecated android.support.v4.app.Fragment
body: <p>I'm using Dagger2 for DI in android app,</p>
  
  <p>I want inject viewModel in a fragment by <code>AndroidInjector</code> and have this two line :</p>
  
  <pre><code> AndroidInjection.inject(this)
   viewModel = ViewModelProviders.of(this, viewModelFactory).get(ProductDetailViewModel::class.java)
  </code></pre>
  
  <p>When my fragment extends <code>androidx.fragment.app.Fragment</code> shows this error:</p>
  
  <ul>
  <li>the first line uses deprecated <code>android.support.v4.app.Fragment</code></li>
  <li>but second uses <code>android.app.Fragment</code></li>
  </ul>
  
  <p>now I don't know my fragment should extends which one!</p>
  
  <p>I get this error when choose one of them :</p>
  
  <p><code>None of the following functions can be called with the arguments supplied:
  public open fun inject(activity: Activity!): Unit defined in dagger.android.AndroidInjection
  public open fun inject(fragment: Fragment!): Unit defined in dagger.android.AndroidInjection
  public open fun inject(service: Service!): Unit defined in dagger.android.AndroidInjection
  public open fun inject(contentProvider: ContentProvider!): Unit defined in dagger.android.AndroidInjection</code></p>