Last active
February 23, 2021 13:36
-
-
Save arnaudgiuliani/fda2882344a8db91a4cd001869a8f91b 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
class MyActivity : AppCompatActivity, AndroidScopeComponent { | |
// use Activity Retained Scope | |
override val scope : Scope by activityRetainedScope() | |
val presenter : MyPresenter by inject() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment