Uses of Interface
dagger.android.HasAndroidInjector
Package
Description
APIs to assist with performing injection on Android.
-
Uses of HasAndroidInjector in dagger.android
Modifier and TypeClassDescriptionclass
AnActivity
that injects its members inDaggerActivity.onCreate(Bundle)
and can be used to injectFragment
s attached to it.class
AnApplication
that injects its members and can be used to inject objects that the Android framework instantiates, such as Activitys, Fragments, or Services.class
Deprecated.class
Deprecated.Framework fragments are deprecated in Android P; preferdagger.android.support.DaggerFragment
to use a support-library-friendlydagger.android
fragment implementation. -
Uses of HasAndroidInjector in dagger.android.support
Modifier and TypeClassDescriptionclass
AnAppCompatActivity
that injects its members inDaggerAppCompatActivity.onCreate(Bundle)
and can be used to injectFragment
s attached to it.class
AnAppCompatDialogFragment
that injects its members inDaggerAppCompatDialogFragment.onAttach(Context)
and can be used to inject childFragment
s attached to it.class
Aninvalid @link
Application
class
ADialogFragment
that injects its members inDaggerDialogFragment.onAttach(Context)
and can be used to inject childFragment
s attached to it.class
AFragment
that injects its members inDaggerFragment.onAttach(Context)
and can be used to inject childFragment
s attached to it.
dagger.android.support.DaggerDialogFragment
to use a support-library-friendlydagger.android
dialog fragment implementation.