Ahsan Ullah Rasel
07/09/2023, 12:30 PMKimJason
07/09/2023, 1:14 PMAhsan Ullah Rasel
07/09/2023, 1:21 PMdarkmoon_uk
07/09/2023, 2:01 PMdarkmoon_uk
07/09/2023, 2:03 PMDaniele B
07/10/2023, 4:22 AMdarkmoon_uk
07/10/2023, 4:36 AMAhsan Ullah Rasel
07/10/2023, 4:38 AMAhsan Ullah Rasel
07/10/2023, 4:39 AMdarkmoon_uk
07/10/2023, 4:40 AMBut it would be better to have a dependency injection library like Hilt.Have you had good experiences with these frameworks, or is a received assumption that they would improve things? Every usage of Dagger and Hilt that I've encountered has harmed productivity by adding unnecessary complexity, 'magic' and build time to a project. This may have all been worth it in the Java days but I believe Kotlin now offers all we need.
Vlad
07/10/2023, 8:50 AMinline fun <reified T : BaseViewModel> provideViewModel(): T
to fetch the VM from DI graphSebastian
07/10/2023, 2:02 PMkoinInject()
in the method.