ExtrasViewModel
class ExtrasViewModel(val dispatchersProvider: DispatchersProvider, val fetchAndGetLorasUseCase: FetchAndGetLorasUseCase, val fetchAndGetHyperNetworksUseCase: FetchAndGetHyperNetworksUseCase, val preferenceManager: PreferenceManager, prompt: String, negativePrompt: String, type: ExtraType, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<ExtrasState, ExtrasIntent, ExtrasEffect> (source)
Coordinates ExtrasViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(dispatchersProvider: DispatchersProvider, fetchAndGetLorasUseCase: FetchAndGetLorasUseCase, fetchAndGetHyperNetworksUseCase: FetchAndGetHyperNetworksUseCase, preferenceManager: PreferenceManager, prompt: String, negativePrompt: String, type: ExtraType, onError: (Throwable) -> Unit = {})
Properties
Link copied to clipboard
Link copied to clipboard
Exposes the dispatchersProvider value used by the SDAI presentation layer.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Exposes the fetchAndGetHyperNetworksUseCase value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the fetchAndGetLorasUseCase 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