Skip to content

Instantly share code, notes, and snippets.

@fabioCollini
Created June 12, 2019 06:14
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/be46c5f2560bde644fa4c58a8d9771a1 to your computer and use it in GitHub Desktop.
Save fabioCollini/be46c5f2560bde644fa4c58a8d9771a1 to your computer and use it in GitHub Desktop.
class DomainDependenciesImpl(
private val locationComponent: LocationComponent,
private val weatherComponent: WeatherComponent
) : DomainDependencies {
override val locationManager: LocationManager
get() = locationComponent.locationManager
override val temperatureRepository: TemperatureRepository
get() = weatherComponent.temperatureRepository
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment