Created
October 14, 2019 23:55
-
-
Save markchristopherng/8d46046103da5180ef5dffd3f826668d 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
class CustomerActivity : BaseActivity(R.layout.activity_customer) { | |
@Inject lateinit var customerManager: CustomerManager | |
override fun onCreate(savedInstanceState: Bundle?) { | |
KTP.openRootScope() | |
.openSubScope(APPSCOPE) | |
.openSubScope(this) | |
.supportScopeAnnotation(ActivityScope::class.java) | |
.closeOnDestroy(this) | |
.inject(this) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment