BaseScreenViewModel

abstract class BaseScreenViewModel : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel

Base class for the sample's screen ViewModels, centralising the state and helpers every screen shares: a progress-bar flag, a snackbar event flow with success/error emitters, and a helper to await a repository Flow's terminal result.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val showProgressBar: ERROR CLASS: Unresolved name: MutableLiveData

Controls whether the circular progress indicator is shown instead of the screen content.

Link copied to clipboard
val snackBarStateFlow: ERROR CLASS: Symbol not found for SharedFlow<io/rekast/sdk/sample/utils/SnackBarComponentConfiguration>

Flow of SnackBarComponentConfiguration events to be displayed as snack bars.