Skip to content

Instantly share code, notes, and snippets.

@Morfly
Last active October 27, 2022 04:37
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 Morfly/48be0a2cb781cc0766296f1d2af9f7f1 to your computer and use it in GitHub Desktop.
Save Morfly/48be0a2cb781cc0766296f1d2af9f7f1 to your computer and use it in GitHub Desktop.
@Singleton
@Component
interface AppComponent {
val appContext: Context
@Component.Factory
interface Factory {
fun create(@BindsInstance appContext: Context): AppComponent
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment