StabilityAiCreditsRepositoryImpl
internal class StabilityAiCreditsRepositoryImpl(val remoteDataSource: StabilityAiCreditsRemoteDataSource, val localDataSource: StabilityAiCreditsDataSource.Local, val preferenceManager: PreferenceManager) : StabilityAiCreditsRepository(source)
Implements StabilityAiCreditsRepository behavior in the SDAI data layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(remoteDataSource: StabilityAiCreditsRemoteDataSource, localDataSource: StabilityAiCreditsDataSource.Local, preferenceManager: PreferenceManager)
Properties
Functions
Link copied to clipboard
Executes the checkServerSource step in the SDAI data layer.
Link copied to clipboard
Executes the checkServerSourceSuspend step in the SDAI data layer.
Link copied to clipboard
Loads SDAI data through fetchAndGet.
Link copied to clipboard
Loads SDAI data through fetchAndObserve.
Link copied to clipboard
Executes the isStabilityAiSource step in the SDAI data layer.
Link copied to clipboard
Executes the wrongServerSourceSelected step in the SDAI data layer.