DownloadDialogViewModel
class DownloadDialogViewModel(modelId: String, val getLocalModelUseCase: GetLocalModelUseCase, val dispatchersProvider: DispatchersProvider, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<DownloadDialogState, DownloadDialogIntent, DownloadDialogEffect> (source)
Coordinates DownloadDialogViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(modelId: String, getLocalModelUseCase: GetLocalModelUseCase, dispatchersProvider: DispatchersProvider, 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 getLocalModelUseCase value used by the SDAI presentation layer.
Link copied to clipboard