Package dagger.hilt.android.scopes
This package contains Hilt's built-in Android
Scope
annotations.- See Also:
- Component Lifetimes
-
Annotation Types Summary Annotation Type Description ActivityRetainedScoped Scope annotation for bindings that should exist for the life of an activity, surviving configuration.ActivityScoped Scope annotation for bindings that should exist for the life of an activity.FragmentScoped Scope annotation for bindings that should exist for the life of a fragment.ServiceScoped Scope annotation for bindings that should exist for the life of a service.ViewModelScoped Scope annotation for bindings that should exist for the life of a a singleViewModel
.ViewScoped Scope annotation for bindings that should exist for the life of a View.