DonateViewModel
class DonateViewModel(val dispatchersProvider: DispatchersProvider, val fetchSupportersUseCase: FetchSupportersUseCase, val linksProvider: LinksProvider, val router: DonateRouter, val onError: (Throwable) -> Unit = {}) : BaseMviViewModel<DonateState, DonateIntent, DonateEffect> (source)
Coordinates DonateViewModel behavior in the SDAI presentation layer.
Author
Dmitriy Moroz
Constructors
Link copied to clipboard
constructor(dispatchersProvider: DispatchersProvider, fetchSupportersUseCase: FetchSupportersUseCase, linksProvider: LinksProvider, router: DonateRouter, 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 fetchSupportersUseCase value used by the SDAI presentation layer.
Link copied to clipboard
Exposes the linksProvider 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