Skip navigation links
A C D E F G H I O R S V W 

A

ActivityComponent - Interface in dagger.hilt.android.components
A Hilt component that has the lifetime of the activity.
ActivityContext - Annotation Type in dagger.hilt.android.qualifiers
Annotation for a Context that corresponds to the activity.
ActivityRetainedComponent - Interface in dagger.hilt.android.components
A Hilt component that has the lifetime of a configuration surviving activity.
ActivityRetainedLifecycle - Interface in dagger.hilt.android
A ActivityRetainedLifecycle class is associated with the lifecycle of the ActivityRetainedComponent.
ActivityRetainedLifecycle.OnClearedListener - Interface in dagger.hilt.android
Listener for receiving a callback for when the ActivityRetainedComponent will no longer be used and destroyed.
ActivityRetainedScoped - Annotation Type in dagger.hilt.android.scopes
Scope annotation for bindings that should exist for the life of an activity, surviving configuration.
ActivityScoped - Annotation Type in dagger.hilt.android.scopes
Scope annotation for bindings that should exist for the life of an activity.
addOnClearedListener(ActivityRetainedLifecycle.OnClearedListener) - Method in interface dagger.hilt.android.ActivityRetainedLifecycle
Adds a new ActivityRetainedLifecycle.OnClearedListener for receiving a callback when the activity retained instances will no longer be needed and destroyed.
AndroidEntryPoint - Annotation Type in dagger.hilt.android
Marks an Android component class to be setup for injection with the standard Hilt Dagger Android components.
ApplicationContext - Annotation Type in dagger.hilt.android.qualifiers
Annotation for an Application Context dependency.

C

CustomInject - Annotation Type in dagger.hilt.android.migration
When used on a HiltAndroidApp-annotated application, this causes the application to no longer inject itself in onCreate and instead allows it to be injected at some other time.
CustomInjection - Class in dagger.hilt.android.migration
Utility methods for injecting the application when using CustomInject.

D

dagger.hilt.android - package dagger.hilt.android
This package contains Hilt APIs for Android applications.
dagger.hilt.android.components - package dagger.hilt.android.components
This package contains Hilt's built-in Components for Android.
dagger.hilt.android.flags - package dagger.hilt.android.flags
Runtime flags to control Hilt behavior for rollout of changes.
dagger.hilt.android.lifecycle - package dagger.hilt.android.lifecycle
 
dagger.hilt.android.migration - package dagger.hilt.android.migration
This package contains Android APIs to help migrating a codebase to Hilt.
dagger.hilt.android.qualifiers - package dagger.hilt.android.qualifiers
This package contains Hilt's built-in Android Qualifier annotations.
dagger.hilt.android.scopes - package dagger.hilt.android.scopes
This package contains Hilt's built-in Android Scope annotations.

E

EarlyEntryPoint - Annotation Type in dagger.hilt.android
An escape hatch for when a Hilt entry point usage needs to be called before the singleton component is available in a Hilt test.
EarlyEntryPoints - Class in dagger.hilt.android
Static utility methods for accessing entry points annotated with EarlyEntryPoint.

F

FragmentComponent - Interface in dagger.hilt.android.components
A Hilt component that has the lifetime of the fragment.
FragmentGetContextFix - Class in dagger.hilt.android.flags
Runtime flag for the Fragment.getContext() fix.
FragmentGetContextFix.DisableFragmentGetContextFix - Annotation Type in dagger.hilt.android.flags
Qualifier annotation to bind disable the Fragment.getContext() fix at runtime.
FragmentGetContextFix.FragmentGetContextFixEntryPoint - Interface in dagger.hilt.android.flags
Entry point for getting the flag.
FragmentScoped - Annotation Type in dagger.hilt.android.scopes
Scope annotation for bindings that should exist for the life of a fragment.

G

get(Context, Class<T>) - Static method in class dagger.hilt.android.EarlyEntryPoints
Returns the early entry point interface given a component manager holder.
getDisableFragmentGetContextFix() - Method in interface dagger.hilt.android.flags.FragmentGetContextFix.FragmentGetContextFixEntryPoint
 

H

HiltAndroidApp - Annotation Type in dagger.hilt.android
Annotation for marking the Application class where the Dagger components should be generated.
HiltViewModel - Annotation Type in dagger.hilt.android.lifecycle
Identifies a ViewModel for construction injection.

I

inject(Application) - Static method in class dagger.hilt.android.migration.CustomInjection
Injects the passed in application.
isFragmentGetContextFixDisabled(Context) - Static method in class dagger.hilt.android.flags.FragmentGetContextFix
 

O

onCleared() - Method in interface dagger.hilt.android.ActivityRetainedLifecycle.OnClearedListener
Called when the activity retained instances will no longer be used and destroyed.
OptionalInject - Annotation Type in dagger.hilt.android.migration
When placed on an AndroidEntryPoint-annotated activity / fragment / view / etc, allows injection to occur optionally based on whether or not the application is using Hilt.
OptionalInjectCheck - Class in dagger.hilt.android.migration
Utility methods for validating if an AndroidEntryPoint-annotated class that is also annotated with OptionalInject was injected by Hilt.

R

removeOnClearedListener(ActivityRetainedLifecycle.OnClearedListener) - Method in interface dagger.hilt.android.ActivityRetainedLifecycle

S

ServiceComponent - Interface in dagger.hilt.android.components
A Hilt component that has the lifetime of the service.
ServiceScoped - Annotation Type in dagger.hilt.android.scopes
Scope annotation for bindings that should exist for the life of a service.

V

ViewComponent - Interface in dagger.hilt.android.components
A Hilt component that has the lifetime of the view.
ViewModelComponent - Interface in dagger.hilt.android.components
A Hilt component that has the lifetime of a single ViewModel.
ViewModelScoped - Annotation Type in dagger.hilt.android.scopes
Scope annotation for bindings that should exist for the life of a a single ViewModel.
ViewScoped - Annotation Type in dagger.hilt.android.scopes
Scope annotation for bindings that should exist for the life of a View.
ViewWithFragmentComponent - Interface in dagger.hilt.android.components
A Hilt component that has the lifetime of the view.

W

wasInjectedByHilt(ComponentActivity) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
Returns true if the Activity was injected by Hilt.
wasInjectedByHilt(BroadcastReceiver) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
Returns true if the BroadcastReceiver was injected by Hilt.
wasInjectedByHilt(Fragment) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
Returns true if the Fragment was injected by Hilt.
wasInjectedByHilt(Service) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
Returns true if the Service was injected by Hilt.
wasInjectedByHilt(View) - Static method in class dagger.hilt.android.migration.OptionalInjectCheck
Returns true if the View was injected by Hilt.
WithFragmentBindings - Annotation Type in dagger.hilt.android
Makes a View annotated with AndroidEntryPoint have access to fragment bindings.
A C D E F G H I O R S V W 
Skip navigation links