BackgroundWorkViewModel
class BackgroundWorkViewModel(val dispatchersProvider: DispatchersProvider, val backgroundWorkObserver: BackgroundWorkObserver, val imageLoader: BackgroundWorkImageLoader, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<BackgroundWorkState, BackgroundWorkIntent, EmptyEffect> (source)
Coordinates BackgroundWorkViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(dispatchersProvider: DispatchersProvider, backgroundWorkObserver: BackgroundWorkObserver, imageLoader: BackgroundWorkImageLoader, onError: (Throwable) -> Unit = {})
Properties
Link copied to clipboard
Exposes the backgroundWorkObserver value used by the SDAI presentation layer.
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 imageLoader value used by the SDAI presentation layer.
Link copied to clipboard