Context that corresponds to the activity.ActivityRetainedLifecycle class is associated with the lifecycle of the ActivityRetainedComponent.ActivityRetainedComponent will no longer be used and destroyed.ActivityRetainedLifecycle.OnClearedListener for receiving a callback when the activity retained
instances will no longer be needed and destroyed.Components for Android.Qualifier annotations.Scope annotations.EarlyEntryPoint.Application class where the Dagger components
should be generated.ViewModel for construction injection.AndroidEntryPoint-annotated activity / fragment /
view / etc, allows injection to occur optionally based on whether or not the application is using
Hilt.AndroidEntryPoint-annotated
class that is also annotated with OptionalInject was injected by Hilt.ActivityRetainedLifecycle.OnClearedListener previously added via ActivityRetainedLifecycle.addOnClearedListener(OnClearedListener).ViewModel.ViewModel.AndroidEntryPoint have access to fragment bindings.