Last active
January 25, 2019 10:55
-
-
Save marcinOz/fde39c717f4c35da3e287e8176be1fa9 to your computer and use it in GitHub Desktop.
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 instance of HelloRepository (which will be reused) | |
single { HelloRepositoryImpl() } | |
// Simple Presenter Factory (creates every time new) | |
factory { MySimplePresenter(get()) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment