Skip to content

Instantly share code, notes, and snippets.

@diousk
Created May 26, 2020 01:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diousk/50863f53a7384b8431d34e9425fbdbe5 to your computer and use it in GitHub Desktop.
Save diousk/50863f53a7384b8431d34e9425fbdbe5 to your computer and use it in GitHub Desktop.
@SessionScope
@Subcomponent(modules = [SessionActivityBuilder::class, SessionModule::class])
interface SessionComponent {
@Subcomponent.Factory
interface Factory {
fun create(): SessionComponent
}
fun injector(): DispatchingAndroidInjector<Any>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment