Package dagger.hilt.android
Annotation Type EarlyEntryPoint
-
@Beta @Retention(RUNTIME) @Target(TYPE) public @interface EarlyEntryPointAn escape hatch for when a Hilt entry point usage needs to be called before the singleton component is available in a Hilt test.Warning: Please see documentation for more details: https://dagger.dev/hilt/early-entry-point
Usage:
To enable an existing entry point to be called early in a Hilt test, replace its
EntryPointannotation withEarlyEntryPoint. (Note that,EarlyEntryPointis only allowed on entry points installed in theSingletonComponent).