package keijumt.devandroid.di import android.app.Application /** * DI Helper */ object Injector { private lateinit var applicationComponent: AppComponent fun setup(application: Application): AppComponent { applicationComponent = DaggerAppComponent.builder() .application(application) .build() return applicationComponent } fun applicationComponent(): AppComponent { return applicationComponent } }