From f294a3af58f05401982bd2c443e17347c08f8416 Mon Sep 17 00:00:00 2001 From: yonghanJu Date: Wed, 11 Oct 2023 17:21:08 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Running=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EC=9C=A0=EC=A6=88=EC=BC=80=EC=9D=B4=EC=8A=A4=20DI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/whyranoid/walkie/KoinModules.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/whyranoid/walkie/KoinModules.kt b/app/src/main/java/com/whyranoid/walkie/KoinModules.kt index db2cbf5d..a6f5ad96 100644 --- a/app/src/main/java/com/whyranoid/walkie/KoinModules.kt +++ b/app/src/main/java/com/whyranoid/walkie/KoinModules.kt @@ -53,6 +53,7 @@ import com.whyranoid.domain.usecase.UploadPostUseCase import com.whyranoid.domain.usecase.running.GetRunningFollowerUseCase import com.whyranoid.domain.usecase.running.RunningFinishUseCase import com.whyranoid.domain.usecase.running.RunningStartUseCase +import com.whyranoid.domain.usecase.running.SendLikeUseCase import com.whyranoid.presentation.screens.mypage.editprofile.EditProfileViewModel import com.whyranoid.presentation.viewmodel.AddPostViewModel import com.whyranoid.presentation.viewmodel.RunningEditViewModel @@ -79,7 +80,7 @@ val viewModelModule = module { single { ChallengeDetailViewModel(get()) } single { ChallengeExitViewModel(get()) } single { UserPageViewModel(get(), get(), get(), get(), get()) } - factory { RunningViewModel(get(), get(), get(), get(), get()) } + factory { RunningViewModel(get(), get(), get(), get(), get(), get()) } factory { RunningEditViewModel() } factory { SplashViewModel(get()) } factory { SignInViewModel(get()) } @@ -118,11 +119,12 @@ val useCaseModule = module { single { GetUserPostPreviewsUseCase(get()) } single { GetUserBadgesUseCase(get()) } single { GetUserDetailUseCase(get()) } - single { GetRunningFollowerUseCase() } + single { GetRunningFollowerUseCase(get(), get()) } single { RunningFinishUseCase(get(), get()) } single { RunningStartUseCase(get(), get()) } single { SignOutUseCase(get()) } single { UploadPostUseCase(get(), get()) } + single { SendLikeUseCase(get(), get()) } } val databaseModule = module {