Created
February 4, 2026 07:42
-
-
Save arnaudgiuliani/0930e472d21b79a861fa2d7c7d277b40 to your computer and use it in GitHub Desktop.
Koin App Module - First DSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| val appModule = module { | |
| single { Database() } | |
| single { UserRepository(get()) } | |
| viewModel { MainViewModel(get()) } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment