DispatchingAndroidInjector
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.Module
that delegate bindings.Optional
containers of values from bindings
that may or may not be present in the component.DispatchingAndroidInjector
of BroadcastReceiver
s.MapKey
annotation to key bindings by a type of a BroadcastReceiver
.AndroidInjector
.MapKey
annotation for maps with Class<?>
keys.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.BroadcastReceiver
that injects its members in the first call to DaggerBroadcastReceiver.onReceive(Context, Intent)
.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.DispatchingAndroidInjector
of Fragment
s.MapKey
annotation to key bindings by a type of a Fragment
.DispatchingAndroidInjector
of Activity
s.DispatchingAndroidInjector
of BroadcastReceiver
s.DispatchingAndroidInjector
of Fragment
s.DispatchingAndroidInjector
of Service
s.DispatchingAndroidInjector
of Fragment
s.ProducerToken.equals(Object)
.Produced.equals(Object)
.activity
if an associated AndroidInjector.Factory
implementation can be
found, otherwise throws an IllegalArgumentException
.fragment
if an associated AndroidInjector.Factory
implementation can be
found, otherwise throws an IllegalArgumentException
.service
if an associated AndroidInjector.Factory
implementation can be
found, otherwise throws an IllegalArgumentException
.broadcastReceiver
if an associated AndroidInjector.Factory
implementation can be found, otherwise throws an IllegalArgumentException
.instance
.instance
.fragment
if an associated AndroidInjector.Factory
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
.DispatchingAndroidInjector
of Service
s.Component
or
Subcomponent
.Produced
, whose Produced.get()
will return the given value.DispatchingAndroidInjector
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.