//app/dev.atick.compose.di.repository/RepositoryModule/bindProfileDataRepository
bindProfileDataRepository
[androidJvm]\
@Binds
@Singleton
abstract fun bindProfileDataRepository(profileDataRepositoryImpl: ProfileDataRepositoryImpl): ProfileDataRepository
This method is used to bind a ProfileDataRepositoryImpl instance to the ProfileDataRepository interface. It is annotated with @Binds and @Singleton, indicating that a single instance of ProfileDataRepositoryImpl should be used as the implementation of ProfileDataRepository throughout the application.
Return
An instance of ProfileDataRepository representing the bound implementation.
Parameters
androidJvm
profileDataRepositoryImpl | The ProfileDataRepositoryImpl instance to be bound to ProfileDataRepository. |