All Classes and Interfaces
Class
Description
A Hilt component that has the lifetime of the activity.
Interface for creating an
ActivityComponent.Do not use except in Hilt generated code!
Entrypoint for
ActivityComponentBuilder.Annotation for a
Context that corresponds to the activity.A Hilt component that has the lifetime of a configuration surviving activity.
Interface for creating a
ActivityRetainedComponent.A
ActivityRetainedLifecycle class is associated with the lifecycle of the ActivityRetainedComponent.Listener for receiving a callback for when the
ActivityRetainedComponent will no longer be used and destroyed.Qualifies a binding that belongs to ActivityRetainedComponent.
Scope annotation for bindings that should exist for the life of an activity, surviving
configuration.
Scope annotation for bindings that should exist for the life of an activity.
Marks an Android component class to be setup for injection with the standard Hilt Dagger Android
components.
Do not use except in Hilt generated code!
Annotation for an Application Context dependency.
Provides a binding for an Android BinderFragment Context.
Do not use except in Hilt generated code!
Interface for supplying a component.
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.Utility methods for injecting the application when using
CustomInject.Modules and entry points for the default view model factory used by activities and fragments
annotated with @AndroidEntryPoint.
The activity entry point to retrieve the factory.
The fragment entry point to retrieve the factory.
Internal factory for the Hilt ViewModel Factory.
An escape hatch for when a Hilt entry point usage needs to be called before the singleton
component is available in a Hilt test.
Static utility methods for accessing entry points annotated with
EarlyEntryPoint.A Hilt component that has the lifetime of the fragment.
Interface for creating a
FragmentComponent.Do not use except in Hilt generated code!
Entrypoint for
FragmentComponentBuilder.Runtime flag for the Fragment.getContext() fix.
Qualifier annotation to bind disable the Fragment.getContext() fix at runtime.
Entry point for getting the flag.
Scope annotation for bindings that should exist for the life of a fragment.
Do not use except in Hilt generated code.
Annotation for marking the
Application class where the Dagger components
should be generated.Identifies a
ViewModel for construction injection.Internal qualifier for the multibinding map of assisted factories for @AssistedInject-annotated
ViewModels used by the
dagger.hilt.android.lifecycle.HiltViewModelFactory.View Model Provider Factory for the Hilt Extension.
Hilt entry point for getting the multi-binding map of ViewModels.
Internal qualifier for the multibinding map of ViewModels used by the
dagger.hilt.android.lifecycle.HiltViewModelFactory.Internal qualifier for the multibinding set of class names annotated with @ViewModelInject.
Do not use except in Hilt generated code!
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.Utility methods for validating if an
AndroidEntryPoint-annotated
class that is also annotated with OptionalInject was injected by Hilt.A class for registered listeners on a retained lifecycle (generally backed up by a ViewModel).
Listener for when the retained lifecycle is cleared.
Internal implementation.
Implementation for SavedStateHandleHolder.
A Hilt component that has the lifetime of the service.
Interface for creating a
ServiceComponent.Do not use except in Hilt generated code!
Entrypoint for
ServiceComponentBuilder.Scope annotation for bindings that should exist for the life of a service.
Mark unstable Api usage.
A Hilt component that has the lifetime of the view.
Interface for creating a
ViewComponent.Do not use except in Hilt generated code!
Do not use except in Hilt generated code!
Entrypoint for
ViewComponentBuilder.Entrypoint for
ViewWithFragmentComponentBuilder.A Hilt component that has the lifetime of a single
ViewModel.Interface for creating a
ViewModelComponent.A class for registering listeners on the ViewModel lifecycle.
Scope annotation for bindings that should exist for the life of a a single
ViewModel.Scope annotation for bindings that should exist for the life of a View.
A Hilt component that has the lifetime of the view.
Interface for creating a
ViewWithFragmentComponent.Makes a View annotated with
AndroidEntryPoint have access to fragment bindings.