1 min readJun 6, 2020
valid point, viewmodels right now need this.
Of course we have sth like:
@Binds @IntoMap @ViewModelKey(MyViewModel::class)
It is another uglyness of Dagger we have to live with. But I'd say this has not much to do with injecting lists or maps of sth, it is just a workaround to make viewmodels work together with Dagger at least until Hilt comes out