feat: add ViewModelModule for Growth Recipe feature
This commit is contained in:
parent
93ddf492bf
commit
b351eaf96c
|
|
@ -0,0 +1,11 @@
|
||||||
|
package com.syaroful.agrilinkvocpro.growth_recipe_feature.di
|
||||||
|
|
||||||
|
import com.syaroful.agrilinkvocpro.growth_recipe_feature.presentation.recipe.GrowthRecipeViewModel
|
||||||
|
import com.syaroful.agrilinkvocpro.growth_recipe_feature.presentation.recomendation.ClusterViewModel
|
||||||
|
import org.koin.androidx.viewmodel.dsl.viewModel
|
||||||
|
import org.koin.dsl.module
|
||||||
|
|
||||||
|
val viewModelModule = module {
|
||||||
|
viewModel { GrowthRecipeViewModel(get(), get()) }
|
||||||
|
viewModel { ClusterViewModel(get()) }
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user