<how to make many ViewModelFactory in kodein with ...
# stackoverflow
u
how to make many ViewModelFactory in kodein with kotlin i use kodein principle in mvvm to set my ViewModelFactory with repositories class AddSpendApplication: Application(), KodeinAware { override val kodein: Kodein = Kodein.lazy { import(androidXModule(this@AddSpendApplication)) bind() from singleton { PersonalAccountingDateBase(instance()) } bind() from singleton { AddSpendRepository(instance()) } bind() from provider { AddSpendViewModelFactory(instance()) } }} so when i have many ViewModel in my app , i should make...