| Package | Description |
|---|---|
| dagger.hilt.android |
This package contains Hilt APIs for Android applications.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ActivityRetainedLifecycle.addOnClearedListener(ActivityRetainedLifecycle.OnClearedListener listener)
Adds a new
ActivityRetainedLifecycle.OnClearedListener for receiving a callback when the activity retained
instances will no longer be needed and destroyed. |
void |
ActivityRetainedLifecycle.removeOnClearedListener(ActivityRetainedLifecycle.OnClearedListener listener)
Removes a
ActivityRetainedLifecycle.OnClearedListener previously added via ActivityRetainedLifecycle.addOnClearedListener(OnClearedListener). |