HistoryViewModel
class HistoryViewModel(val dispatchersProvider: DispatchersProvider, val getAllGalleryUseCase: GetAllGalleryUseCase, val router: HistoryRouter, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<HistoryState, HistoryIntent, EmptyEffect> (source)
Coordinates HistoryViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(dispatchersProvider: DispatchersProvider, getAllGalleryUseCase: GetAllGalleryUseCase, router: HistoryRouter, 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 getAllGalleryUseCase 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