AndroidInjector
of Activity
s.dagger.android
framework classes.Activity
or Fragment
).Subcomponent.Builder
pattern implement AndroidInjector.Factory
.AndroidInjector
s for a concrete subtype of a core Android type.ReleaseReferencesAt
scopes in
low-memory conditions.dagger.android
and dagger.android.support
framework classes.AndroidInjector
for the concrete DaggerApplication
.Module
that delegate bindings.Optional
containers of values from bindings
that may or may not be present in the component.AndroidInjector
of BroadcastReceiver
s.MapKey
annotation to key bindings by a type of a BroadcastReceiver
.AndroidInjector
.MapKey
annotation for maps with Class<?>
keys.AndroidInjector
of ContentProvider
s.MapKey
annotation to key bindings by a type of a ContentProvider
.AndroidInjector
for the return type of this method.AndroidInjector
for instance
.Activity
that injects its members in DaggerActivity.onCreate(Bundle)
and can be used to
inject Fragment
s attached to it.AppCompatActivity
that injects its members in DaggerAppCompatActivity.onCreate(Bundle)
and can be
used to inject Fragment
s attached to it.Application
that injects its members and can be used to inject Activity
s,
Fragment
s, Service
s, BroadcastReceiver
s and ContentProvider
s
attached to it.Application
that injects its members and can be used to inject Activity
s, framework fragments, support fragments, Service
s, BroadcastReceiver
s, and ContentProvider
s attached to it.BroadcastReceiver
that injects its members in the first call to DaggerBroadcastReceiver.onReceive(Context, Intent)
.ContentProvider
that injects its members in DaggerContentProvider.onCreate()
.Fragment
that injects its members in DaggerFragment.onAttach(Context)
and can be used to
inject child Fragment
s attached to it.Fragment
that injects its members in DaggerFragment.onAttach(Context)
and can be used to
inject child Fragment
s attached to it.IntentService
that injects its members in DaggerIntentService.onCreate()
.Service
that injects its members in DaggerService.onCreate()
.RuntimeException
or
return null.AndroidInjector.Factory
.Set<T>
and all values are contributed to the set.Produced
objects compare equal if both are successful with equal values, or both
are failed with equal exceptions.Produced
, whose Produced.get()
will throw an
ExecutionException
with the given cause.Qualifier
to inject a ReleasableReferenceManager
or TypedReleasableReferenceManager
object for a particular scope.AndroidInjector
of Fragment
s.MapKey
annotation to key bindings by a type of a Fragment
.AndroidInjector
of Activity
s.AndroidInjector
of BroadcastReceiver
s.AndroidInjector
of ContentProvider
s.AndroidInjector
of Fragment
s.ProducerToken.equals(Object)
.Produced.equals(Object)
.AndroidInjector
of Service
s.AndroidInjector
of Fragment
s.activity
if an associated AndroidInjector
implementation can be found,
otherwise throws an IllegalArgumentException
.fragment
if an associated AndroidInjector
implementation can be found,
otherwise throws an IllegalArgumentException
.service
if an associated AndroidInjector
implementation can be found,
otherwise throws an IllegalArgumentException
.broadcastReceiver
if an associated AndroidInjector
implementation can
be found, otherwise throws an IllegalArgumentException
.contentProvider
if an associated AndroidInjector
implementation can be
found, otherwise throws an IllegalArgumentException
.instance
.instance
.fragment
if an associated AndroidInjector
implementation
can be found, otherwise throws an IllegalArgumentException
.instance
.MapKey
annotation for maps with int
keys.Map<K, Provider<V>>
,
and the combination of the annotated key and the returned value is contributed to the map as a
key/value pair.Set<T>
, and the returned
value is contributed to the set.MapKey
annotation for maps with long
keys.instance
, returning true
if
successful, false
otherwise.T
.ReleasableReferenceManager.scope()
that is annotated with CanReleaseReferences
.ReleaseReferencesAt
scopes whose ReleaseReferencesAt.value()
is less than or equal to level
.T
,
or an exception that was thrown during that production.T
.Produces
bindings to the production component.ProductionComponent
or ProductionSubcomponent
.Component
, Subcomponent
,
ProductionComponent
, or ProductionSubcomponent
.@CanReleaseReferences
scope.Application.onTrimMemory(int)
.Provider.get()
, leaving only WeakReference
s.WeakReference
has
not yet been cleared during garbage collection.instance
to be used in the binding graph of the built AndroidInjector
.AndroidInjector
of Service
s.Component
or
Subcomponent
.Produced
, whose Produced.get()
will return the given value.AndroidInjector
of Fragment
s.ReleasableReferenceManager
for a scope that is annotated with an annotation that itself
is annotated with CanReleaseReferences
.Copyright © 2012���2017 The Dagger Authors. All rights reserved.