File tree 2 files changed +2
-0
lines changed
docs/reference/koin-annotations
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Koin Annotations keep the same semantic as the Koin DSL. You can declare your co
17
17
- ` @Single ` - singleton instance (declared with ` single { } ` in DSL)
18
18
- ` @Factory ` - factory instance. For instances recreated each time you need an instance. (declared with ` factory { } ` in DSL)
19
19
- ` @KoinViewModel ` - Android ViewModel instance (declared with ` viewModel { } ` in DSL)
20
+ - ` @KoinWorker ` - Android Worker Workmanager instance (declared with ` worker { } ` in DSL)
20
21
21
22
For Scopes, check the [ Declaring Scopes] ( /docs/reference/koin-core/scopes.md ) section.
22
23
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ class PlatformModule
55
55
56
56
// package com.jetbrains.kmpapp.platform
57
57
58
+ @Single
58
59
expect class PlatformHelper {
59
60
fun getName () : String
60
61
}
You can’t perform that action at this time.
0 commit comments