DI in Android Why use Dependency Injection? Setting up Hilt in Android Studio. Providing instances with @Provides and @Inject.