SettingsViewModel
class SettingsViewModel(dispatchersProvider: DispatchersProvider, getStableDiffusionModelsUseCase: GetStableDiffusionModelsUseCase, observeStabilityAiCreditsUseCase: ObserveStabilityAiCreditsUseCase, val selectStableDiffusionModelUseCase: SelectStableDiffusionModelUseCase, val clearAppCacheUseCase: ClearAppCacheUseCase, val preferenceManager: PreferenceManager, val debugMenuAccessor: DebugMenuAccessor, val buildInfoProvider: BuildInfoProvider, val linksProvider: LinksProvider, val router: SettingsRouter, val platformActions: SettingsPlatformActions, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<SettingsState, SettingsIntent, EmptyEffect> (source)
Coordinates SettingsViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(dispatchersProvider: DispatchersProvider, getStableDiffusionModelsUseCase: GetStableDiffusionModelsUseCase, observeStabilityAiCreditsUseCase: ObserveStabilityAiCreditsUseCase, selectStableDiffusionModelUseCase: SelectStableDiffusionModelUseCase, clearAppCacheUseCase: ClearAppCacheUseCase, preferenceManager: PreferenceManager, debugMenuAccessor: DebugMenuAccessor, buildInfoProvider: BuildInfoProvider, linksProvider: LinksProvider, router: SettingsRouter, platformActions: SettingsPlatformActions, onError: (Throwable) -> Unit = {})
Properties
Link copied to clipboard
Link copied to clipboard
Exposes the buildInfoProvider value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the clearAppCacheUseCase value used by the SDAI presentation layer.
Link copied to clipboard
Link copied to clipboard
Exposes the debugMenuAccessor value used by the SDAI presentation layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Exposes the linksProvider value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the platformActions value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the preferenceManager value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the router value used by the SDAI presentation layer.
Link copied to clipboard
Link copied to clipboard
Exposes the selectStableDiffusionModelUseCase value used by the SDAI presentation layer.
Link copied to clipboard
Link copied to clipboard