SupportersRepositoryImpl

Implements SupportersRepository behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(remoteDataSource: SupportersRemoteDataSource, localDataSource: SupportersDataSource.Local)

Properties

Link copied to clipboard

Exposes the localDataSource value used by the SDAI data layer.

Link copied to clipboard

Exposes the remoteDataSource value used by the SDAI data layer.

Functions

Link copied to clipboard
open suspend override fun fetchAndGetSupporters(): List<Supporter>

Loads SDAI data through fetchAndGetSupporters.

Link copied to clipboard
open suspend override fun fetchSupporters()

Loads SDAI data through fetchSupporters.

Link copied to clipboard
open suspend override fun getSupporters(): List<Supporter>

Loads SDAI data through getSupporters.