Skip to content

Commit

Permalink
Merge pull request #2112 from el-qq/patch-1
Browse files Browse the repository at this point in the history
 fix documentation KoinStartup
  • Loading branch information
arnaudgiuliani authored Jan 23, 2025
2 parents a96c277 + a28242a commit 29115d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/reference/koin-android/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ startKoin {
By using Gradle packge `koin-androidx-startup`, we can use `KoinStartup` interface to declare your Koin configuration your Application class:

```kotlin
class MainApplication : Application(),KoinStartup {
class MainApplication : Application(), KoinStartup {

override fun onKoinStartup()= koinConfiguration {
override fun onKoinStartup(): KoinConfiguration = koinConfiguration {
androidContext(this@MainApplication)
modules(appModule)
}
Expand Down Expand Up @@ -114,4 +114,4 @@ class CrashTrackerInitializer : Initializer<Unit>, KoinComponent {
}

}
```
```

0 comments on commit 29115d3

Please sign in to comment.