By default you can't inject ViewModels using Dagger. But there is a pretty well-known work-around using map multibindings.
In this video I show you how to inject ViewModels and perform constructor injection on ViewModels with Dagger using map multibindings.
➤ Watch the dagger course free:
↻ https://codingwithmitch.com/courses/d...
➤ Code for this video:
↻ https://github.com/mitchtabian/Dagger...