Skip to content

Instantly share code, notes, and snippets.

@itsandreramon
Last active December 26, 2023 13:17
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 itsandreramon/7c31a3e933d96bbf1011b8288bfaeb6e to your computer and use it in GitHub Desktop.
Save itsandreramon/7c31a3e933d96bbf1011b8288bfaeb6e to your computer and use it in GitHub Desktop.
@SingleIn(AppScope::class)
@MergeComponent(AppScope::class)
interface AppComponent {
@Component.Factory
interface Factory {
fun create(
@BindsInstance app: App,
): AppComponent
}
fun inject(app: App)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment