How to inject a fragment from the package androidx.fragment.app.Fragment ?
I\'m using the dagger-android framework to inject my dependencies in
add the below code to your gradle.properties
android.useAndroidX=true android.enableJetifier=true
And if you are trying to inject into a Fragment you have to replace AndroidInjection.inject(this) with AndroidSupportInjection.inject(this)
AndroidInjection.inject(this)
AndroidSupportInjection.inject(this)