@ParametersAreNonnullByDefault
See: Description
Class | Description |
---|---|
CustomInjection |
Utility methods for injecting the application when using
CustomInject . |
OptionalInjectCheck |
Utility methods for validating if an
AndroidEntryPoint -annotated
class that is also annotated with OptionalInject was injected by Hilt. |
Annotation Type | Description |
---|---|
CustomInject |
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. |
OptionalInject |
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. |