Package | Description |
---|---|
dagger.android |
APIs to assist with performing injection on Android.
|
dagger.android.support |
Modifier and Type | Class and Description |
---|---|
class |
DispatchingAndroidInjector<T>
Performs members-injection on instances of core Android types (e.g.
|
Modifier and Type | Method and Description |
---|---|
AndroidInjector<android.app.Activity> |
HasActivityInjector.activityInjector()
Returns an
AndroidInjector of Activity s. |
protected abstract AndroidInjector<? extends DaggerApplication> |
DaggerApplication.applicationInjector()
Implementations should return an
AndroidInjector for the concrete DaggerApplication . |
AndroidInjector<android.content.BroadcastReceiver> |
HasBroadcastReceiverInjector.broadcastReceiverInjector()
Returns an
AndroidInjector of BroadcastReceiver s. |
abstract AndroidInjector<T> |
AndroidInjector.Builder.build()
Deprecated.
Returns a newly-constructed
AndroidInjector . |
AndroidInjector<android.content.ContentProvider> |
HasContentProviderInjector.contentProviderInjector()
Returns an
AndroidInjector of ContentProvider s. |
AndroidInjector<android.content.ContentProvider> |
DaggerApplication.contentProviderInjector() |
AndroidInjector<T> |
AndroidInjector.Factory.create(T instance)
Creates an
AndroidInjector for instance . |
AndroidInjector<T> |
AndroidInjector.Builder.create(T instance)
Deprecated.
|
AndroidInjector<android.app.Fragment> |
HasFragmentInjector.fragmentInjector()
Returns an
AndroidInjector of Fragment s. |
AndroidInjector<android.app.Fragment> |
DaggerFragment.fragmentInjector()
Deprecated.
|
AndroidInjector<android.app.Fragment> |
DaggerDialogFragment.fragmentInjector()
Deprecated.
|
AndroidInjector<android.app.Fragment> |
DaggerActivity.fragmentInjector() |
AndroidInjector<android.app.Service> |
HasServiceInjector.serviceInjector()
Returns an
AndroidInjector of Service s. |
Modifier and Type | Method and Description |
---|---|
protected abstract AndroidInjector<? extends DaggerApplication> |
DaggerApplication.applicationInjector() |
AndroidInjector<android.app.Fragment> |
DaggerAppCompatActivity.fragmentInjector() |
AndroidInjector<android.support.v4.app.Fragment> |
HasSupportFragmentInjector.supportFragmentInjector()
Returns an
AndroidInjector of Fragment s. |
AndroidInjector<android.support.v4.app.Fragment> |
DaggerFragment.supportFragmentInjector() |
AndroidInjector<android.support.v4.app.Fragment> |
DaggerDialogFragment.supportFragmentInjector() |
AndroidInjector<android.support.v4.app.Fragment> |
DaggerAppCompatDialogFragment.supportFragmentInjector() |
AndroidInjector<android.support.v4.app.Fragment> |
DaggerAppCompatActivity.supportFragmentInjector() |