@ParametersAreNonnullByDefault
Package dagger.hilt.android
This package contains Hilt APIs for Android applications.
Hilt provides a standard way to incorporate Dagger dependency injection into an Android application.
- See Also:
- Hilt Developer Docs
-
Interface Summary Interface Description ActivityRetainedLifecycle AActivityRetainedLifecycle
class is associated with the lifecycle of theActivityRetainedComponent
.ActivityRetainedLifecycle.OnClearedListener Listener for receiving a callback for when theActivityRetainedComponent
will no longer be used and destroyed.ViewModelLifecycle A class for registering listeners on the ViewModel lifecycle. -
Class Summary Class Description EarlyEntryPoints Static utility methods for accessing entry points annotated withEarlyEntryPoint
. -
Annotation Types Summary Annotation Type Description AndroidEntryPoint Marks an Android component class to be setup for injection with the standard Hilt Dagger Android components.EarlyEntryPoint An escape hatch for when a Hilt entry point usage needs to be called before the singleton component is available in a Hilt test.HiltAndroidApp Annotation for marking theApplication
class where the Dagger components should be generated.WithFragmentBindings Makes a View annotated withAndroidEntryPoint
have access to fragment bindings.