Package dagger.hilt.android.migration
@ParametersAreNonnullByDefault
package dagger.hilt.android.migration
This package contains Android APIs to help migrating a codebase to Hilt.
- See Also:
-
ClassDescriptionWhen 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 usingCustomInject
.When placed on anAndroidEntryPoint
-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 anAndroidEntryPoint
-annotated class that is also annotated withOptionalInject
was injected by Hilt.