Understanding Dependency Injection (DI)
Course Introduction
What is Dependency Injection?
Loosely coupled codebase. what does it mean?
Basic Idea of MVVM Architecture
Implementation of MVVM architecture without Hilt
Manually provide dependency without Hilt
Flow diagram of Dependency Injection
Coding - Hilt
Summary & 3 benefits of DI
Hilt Code Generation
@HiltAndroidApp Annotation
@Module Annotation
@Provides and @Binds Annotation
@InstallIn Annotation
@AndroidEntryPoint Annotation
@HiltViewModel Annotation
@Inject Annotations
@Singleton vs @InstallIn(SingletonComponent::class)
Conclusion
No Comments Yet