bindImageDataSource

@Binds
abstract fun bindImageDataSource(imageRoomDataSource: ImageRoomDataSource): ImageDataSource

Tells Hilt to use the ImageRoomDataSource implementation when injecting the ImageDataSource interface.

Return

the ImageDataSource interface bound to the provided implementation.

Parameters

imageRoomDataSource

the instance of ImageRoomDataSource to be used.