RetrieverBinder

@Module
interface RetrieverBinder

Tells Hilt which implementation should be used for injected retriever interfaces. This module is installed in the SingletonComponent.

Functions

Link copied to clipboard

Tells Hilt to use the AdministrativeUnitNameGeocoderRetriever implementation when injecting the AdministrativeUnitNameRetriever interface.

Link copied to clipboard

Tells Hilt to use the CartographicBoundaryRetrofitRetriever implementation when injecting the CartographicBoundaryRetriever interface.

Link copied to clipboard
@Binds
abstract fun bindImageRetriever(imageAndroidRetriever: ImageAndroidRetriever): ImageRetriever

Tells Hilt to use the ImageAndroidRetriever implementation when injecting the ImageRetriever interface.