Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Singleton
@Component(
modules = [
DataBaseModule::class,
NetworkModule::class,
ActivityModule::class]
)
interface AppComponent {
@Component.Builder
interface Builder {
@BindsInstance
fun application(application: Application): Builder
fun build(): AppComponent
}
fun inject(app: BaseApplication)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.