Simplify ViewModelProvider.Factory() Implementation with Kotlin Lambda and Object Expressions

Learn how to streamline the implementation of ViewModelProvider.Factory() using Kotlin Lambdas and Object Expressions with examples.

Vincent Tsen
2 min readSep 16, 2023

--

If you are like me and still have not gotten used to the Dependency Injection framework…

--

--