bindCurrentRegionDataSource

@Singleton
@Binds
abstract fun bindCurrentRegionDataSource(currentRegionLocalDataSource: CurrentRegionLocalDataSource): CurrentRegionDataSource

Tells Hilt to use a singleton instance of CurrentRegionLocalDataSource when injecting the CurrentRegionDataSource interface. This ensures all classes have access to the same instance.

Return

the CurrentRegionDataSource interface bound to the provided singleton implementation.

Parameters

currentRegionLocalDataSource

the singleton instance of CurrentRegionLocalDataSource to be used.