Skip to content

🗡️ Basic use of the dagger-hilt library in simple examples.

Notifications You must be signed in to change notification settings

HanuszczakDev/Dagger-Hilt

Repository files navigation

Dagger-Hilt 🗡️

API

Application designed and based on the tutorial from Philipp Lackner: https://www.youtube.com/@PhilippLackner/playlists.

Features ✨

  • Dagger-Hilt

Basic use of the dagger-hilt library in simple examples.

Project Milestones

Annotations

  • @HiltAndroidApp
  • @HiltViewModel
  • @AndroidEntryPoint
  • @Module
  • @InstallIn(SingletonComponent::class)
  • @Binds
  • @Provides
  • @Singleton
  • @Named("someUniqueName")

You can also use:

  • @InstallIn(ActivityComponent::class)
  • @InstallIn(ViewModelComponent::class)
  • @InstallIn(ActivityRetainedComponent::class)
  • @InstallIn(ServiceComponent::class)

Injecting into constructor

  • @Inject constructor

Overview

The application is just a basic example for practicing the most used dagger-hilt annotations.

About

🗡️ Basic use of the dagger-hilt library in simple examples.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages