ISupportViewModelState

A helper contract for view model items

Since

v1.3.0

Parameters

R

type of your model

Properties

Link copied to clipboard

observable network state from underlying sources

Link copied to clipboard
abstract val model: LiveData<R>

observable model from a use case output

Functions

Link copied to clipboard
abstract suspend fun refresh()

Triggers use case to perform refresh operation

Link copied to clipboard
abstract suspend fun retry()

Triggers use case to perform a retry operation