Tag: DI

  • Dependency injection on Android with Hilt[Example]

    Dependency injection on Android with Hilt[Example]

    Dependency injection (DI) is a technique widely used in programming and well suited to Android development, where dependencies are provided to a class instead of creating them itself. By following DI principles, you lay the groundwork for good app architecture, greater code reusability, and ease of testing.  The new Hilt library defines a standard way to do DI in your […]