Skip navigation links
A D E F G H 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.

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.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.
EntryPointAccessors - Class in dagger.hilt.android
Static utility methods for dealing with entry points for standard Android components.

F

FragmentComponent - Interface in dagger.hilt.android.components
A Hilt component that has the lifetime of the fragment.
FragmentScoped - Annotation Type in dagger.hilt.android.scopes
Scope annotation for bindings that should exist for the life of a fragment.
fromActivity(Activity, Class<T>) - Static method in class dagger.hilt.android.EntryPointAccessors
Returns the entry point interface from an activity.
fromApplication(Context, Class<T>) - Static method in class dagger.hilt.android.EntryPointAccessors
Returns the entry point interface from an application.
fromFragment(Fragment, Class<T>) - Static method in class dagger.hilt.android.EntryPointAccessors
Returns the entry point interface from a fragment.
fromView(View, Class<T>) - Static method in class dagger.hilt.android.EntryPointAccessors
Returns the entry point interface from a view.

G

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

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.

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 D E F G H O R S V W 
Skip navigation links