Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @PerActivity
- @Component(
- dependencies = arrayOf(
- ApplicationComponent::class
- ),
- modules = arrayOf(
- NearDriversModule::class
- )
- )
- interface NearDriversComponent: LocationComponent {
- fun inject(activity: NearDriversActivity)
- }
- /////
- @PerActivity
- @Component(
- dependencies = arrayOf(ApplicationComponent::class),
- modules = arrayOf(
- GoogleApiModule::class,
- LocationModule::class
- )
- )
- interface LocationComponent {
- fun locationObservable(): LocationObservable
- fun inject(observable: LocationObservable)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement