Hilt Sample Application

This sample app showcases Google's new DI library, Dagger Hilt. Dagger Hilt was designed to solve some of the pain points of using Dagger2 in android applications. The benefits of using Dagger Hilt instead of Dagger 2 are;

  • Reduced boilerplate
  • Decoupled build dependencies
  • Simplified configuration
  • Improved testing
  • Standardized components

You can read more about Dagger Hilt from https://dagger.dev/hilt/.

Built With

  • Dagger Hilt - Dependency Injection library.
  • Android Jetpack - Suite of libraries, tools, and guidance to help developers write high-quality apps easier.
  • Android KTX - Google's kotlin extension functions.
  • Rxjava - JVM implementation of Reactive Extensions.
  • Retrofit - Networking library.
  • Mockito - JSON processing library.
  • Glide4 - Image loading library.

Installation

To run this code, clone this repository and import it into Android studio.