forked from CodandoTV/Netflix-Android
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathAppModule.kt
More file actions
18 lines (16 loc) · 797 Bytes
/
AppModule.kt
File metadata and controls
18 lines (16 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.codandotv.streamplayerapp.di
import com.codandotv.streamplayerapp.core_background_work.di.SyncModule
import com.codandotv.streamplayerapp.core_local_storage.di.LocalStorageModule
import com.codandotv.streamplayerapp.core_networking.di.NetworkModule
import com.codandotv.streamplayerapp.core_shared.qualifier.QualifierDispatcherIO
import com.codandotv.streamplayerapp.feature_list_streams.list.di.ListStreamModule
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.IO
import org.koin.dsl.module
import org.koin.ksp.generated.module
object AppModule {
private val module = module {
single(QualifierDispatcherIO) { Dispatchers.IO }
}
val list = module + NetworkModule().module + LocalStorageModule.module + SyncModule.module + ListStreamModule.module
}