Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 606 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 606 Bytes

dagger-hilt-app

Plain app with dagger hilt dependency injection

Dagger Hilt App

This is just plain app to show how to inject dependencies with the help of Dagger Hilt. Dagger Hilt makes it easy to inject dependencies and removes boiler plate code, makes the code organized and structured. It also makes it easy to inject viewmodels.

Italian Trulli

Tech stack:

  • Dagger Hilt
  • Object lifetime, singletons
  • Injecting same type objects with @Named
  • Injecting viewmodels
  • Using @Application to get application context