Created
April 17, 2019 08:02
-
-
Save krzdabrowski/907627c39309b15c78e2c1c3d5a57a09 to your computer and use it in GitHub Desktop.
This file contains 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 networkModule = module { | |
single { SpaceXService.create() } | |
} | |
val repositoryModule = module { | |
single { RocketRepository(get(), get()) } | |
single { FlightRepository(get(), get()) } | |
single { EventRepository(get(), get()) } | |
} | |
val viewModelModule = module { | |
viewModel { RocketViewModel(get()) } | |
viewModel { FlightViewModel(get()) } | |
viewModel { EventViewModel(get()) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment