Component - Dependency injection with Hilt
This UI component demonstrates how Hilt injects dependencies into an Android Kotlin app. It shows a simple screen where a message from a repository is displayed, provided by Hilt's dependency injection.
This UI component demonstrates how Hilt injects dependencies into an Android Kotlin app. It shows a simple screen where a message from a repository is displayed, provided by Hilt's dependency injection.
Activity (MainActivity)
└── Scaffold (MaterialTheme)
└── Column
├── Text (Message from Repository)
└── Button (Refresh Message)