Skip to content

Instantly share code, notes, and snippets.

@Nyame123
Created June 10, 2021 23:33
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 Nyame123/e5cf1e2afaa1c15548c8fd44309aeab6 to your computer and use it in GitHub Desktop.
Save Nyame123/e5cf1e2afaa1c15548c8fd44309aeab6 to your computer and use it in GitHub Desktop.
@Component(dependencies = [LoginModuleDependencies::class])
interface LoginComponent {
fun inject(activity: LoginActivity)
@Component.Builder
interface Builder {
fun context(@BindsInstance context: Context): Builder
fun appDependencies(loginModuleDependencies: LoginModuleDependencies): Builder
fun build(): LoginComponent
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment