Skip to content

Instantly share code, notes, and snippets.

@amanjeetsingh150
Created March 16, 2019 15:11
Show Gist options
  • Save amanjeetsingh150/7e0f2ed47a0f3a6ed836d62ef672c319 to your computer and use it in GitHub Desktop.
Save amanjeetsingh150/7e0f2ed47a0f3a6ed836d62ef672c319 to your computer and use it in GitHub Desktop.
@Singleton
@Component(modules = arrayOf(AppModule::class, NetModule::class))
interface AppComponent {
@ApplicationContext
fun context(): Context
fun dataManager(): DataManager
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment