Created
March 2, 2018 17:23
-
-
Save arnaudgiuliani/b30d53c481107db17b926dbe3ca37864 to your computer and use it in GitHub Desktop.
Koin 0.9.0 - Dynamic parameter from Activity
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
| class DetailActivity : AppCompatActivity(), DetailContract.View { | |
| val presenter: DetailContract.Presenter by inject(parameters = | |
| mapOf("DETAIL_ACTIVITY" to this)) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment