Android ViewModel — Manual Dependency Injection Made Easy

Remove some boiler plate and make manual dependency injection with Android View Models easier with the power of Kotlin extensions.

Photo by Toan Chu https://unsplash.com/@toanchu90 on Unsplash

Lazy DI Using Android Lifecycle ViewModel Extensions

View Model Provider Factory

View Model Provider & Kotlin Extension Mashup

Endgame: Easy View Model DI

Mobile developer and designer. Into the Jamstack. Read on at ajkueterman.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store