Last active
February 18, 2021 18:07
-
-
Save arnaudgiuliani/f62904cb5c3d57452e5b917da42d6eb0 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
module { | |
// Declare a scope for MyActivity | |
scope<MyActivity> { | |
scoped { MyPresenter() } | |
} | |
} | |
class MyActivity : ScopeActivity() { | |
val presenter : MyPresenter by inject() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment