Skip to content

Instantly share code, notes, and snippets.

@fabioCollini
Created June 12, 2019 06:13
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 fabioCollini/dfdbbffa3027dce8bdba84585cc288cc to your computer and use it in GitHub Desktop.
Save fabioCollini/dfdbbffa3027dce8bdba84585cc288cc to your computer and use it in GitHub Desktop.
@DomainSingleton
@Component(dependencies = [DomainDependencies::class])
interface DomainComponent {
val weatherUseCase: WeatherUseCase
}
interface DomainDependencies {
val locationManager: LocationManager
val temperatureRepository: TemperatureRepository
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment