Skip to content

Commit 2a6f8a3

Browse files
committed
Apply scopes
1 parent 5825927 commit 2a6f8a3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/src/main/java/cz/skywall/multimoduleexample/injection/ApplicationComponent.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ import cz.skywall.multimoduleexample.network.ApiService
1010
import cz.skywall.multimoduleexample.network.NetworkModule
1111
import dagger.BindsInstance
1212
import dagger.Component
13+
import javax.inject.Singleton
1314

15+
@Singleton
1416
@Component(
1517
modules = [
1618
CoreModule::class,

home/src/main/java/cz/skywall/multimoduleexample/home/ui/home/HomeFragmentInjection.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,3 @@ interface HomeFragmentComponent {
1313

1414
@Module
1515
class HomeFragmentModule
16-
17-
18-
19-

0 commit comments

Comments
 (0)