Skip to content

Instantly share code, notes, and snippets.

@markchristopherng
Last active October 15, 2019 00:15
Show Gist options
  • Save markchristopherng/dbb9968b28ff9a2b2d31d45b19d2822f to your computer and use it in GitHub Desktop.
Save markchristopherng/dbb9968b28ff9a2b2d31d45b19d2822f to your computer and use it in GitHub Desktop.
class PayBillActivity() : BaseActivity(R.layout.activity_pay_bill) {
val payBillManager: IPayBillManager by inject()
override fun getScope(): Scope {
return super.getScope().installModules(module {
bind<IPayBillDao>().toClass<PayBillDao>()
bind<IPayBillManager>().toClass<PayBillManager>()
})
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment