Deep Dive into Hilt Modules in Android development| Understand @Binds, @Provides & @Qualifier #hilt



Deep Dive into Hilt Modules in Android development| Understand @Binds, @Provides & @Qualifier #hilt

Deep Dive into Hilt Modules in Android development| Understand @Binds, @Provides & @Qualifier #hilt

#kotlin #android #androidstudio #dependencyinjection #di #hiltmoduels
#hiltandroid

This video help you to understand the core concept of Hilt Modules in Hilt Android framework. @Binds basically helps to resolve interface or abstract class owns by you.
@Provides helps to resolve resolve interace/abstract/builder deisgn pattern classes that comes from other frameworks or owns by you.
@Qualifer helps to resolve the instance when you have multiple implementation of same interface

Reference: https://developer.android.com/training/dependency-injection/hilt-android#hilt-modules

Comments are closed.