| Package | Description |
|---|---|
| dagger.hilt.android.components |
This package contains Hilt's built-in
Components for Android. |
| dagger.hilt.components |
This package contains Hilt's built-in
Components. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ActivityComponent
A Hilt component that has the lifetime of the activity.
|
interface |
ActivityRetainedComponent
A Hilt component that has the lifetime of a configuration surviving activity.
|
interface |
FragmentComponent
A Hilt component that has the lifetime of the fragment.
|
interface |
ServiceComponent
A Hilt component that has the lifetime of the service.
|
interface |
ViewComponent
A Hilt component that has the lifetime of the view.
|
interface |
ViewModelComponent
A Hilt component that has the lifetime of a single
ViewModel. |
interface |
ViewWithFragmentComponent
A Hilt component that has the lifetime of the view.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SingletonComponent
A Hilt component for singleton bindings.
|