Skip to content

Commit

Permalink
✨ Gps Repo, Network Repo DI
Browse files Browse the repository at this point in the history
  • Loading branch information
yonghanJu committed Sep 21, 2023
1 parent b81ef95 commit b5220bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/main/java/com/whyranoid/walkie/KoinModules.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ import com.whyranoid.data.datasource.post.PostService
import com.whyranoid.data.repository.AccountRepositoryImpl
import com.whyranoid.data.repository.ChallengeRepositoryImpl
import com.whyranoid.data.repository.FollowRepositoryImpl
import com.whyranoid.data.repository.GpsRepositoryImpl
import com.whyranoid.data.repository.NetworkRepositoryImpl
import com.whyranoid.data.repository.PostRepositoryImpl
import com.whyranoid.data.repository.RunningHistoryRepositoryImpl
import com.whyranoid.data.repository.RunningRepositoryImpl
Expand All @@ -29,6 +31,8 @@ import com.whyranoid.domain.datasource.UserDataSource
import com.whyranoid.domain.repository.AccountRepository
import com.whyranoid.domain.repository.ChallengeRepository
import com.whyranoid.domain.repository.FollowRepository
import com.whyranoid.domain.repository.GpsRepository
import com.whyranoid.domain.repository.NetworkRepository
import com.whyranoid.domain.repository.PostRepository
import com.whyranoid.domain.repository.RunningHistoryRepository
import com.whyranoid.domain.repository.RunningRepository
Expand Down Expand Up @@ -89,6 +93,8 @@ val repositoryModule = module {
single<RunningHistoryRepository> { RunningHistoryRepositoryImpl(get(), get()) }
single<AccountRepository> { AccountRepositoryImpl(get(), get()) }
single<FollowRepository> { FollowRepositoryImpl(get()) }
single<NetworkRepository> { NetworkRepositoryImpl(get()) }
single<GpsRepository> { GpsRepositoryImpl(get()) }
}

val dataSourceModule = module {
Expand Down

0 comments on commit b5220bd

Please sign in to comment.