AboutPageViewModel

class AboutPageViewModel(val globalError: ReversiException? = null, val setGlobalError: (Exception?, ErrorType?) -> Unit) : ViewModel<AboutUiState>

ViewModel for the about page screen. Manages about page state and error handling.

Constructors

Link copied to clipboard
constructor(globalError: ReversiException? = null, setGlobalError: (Exception?, ErrorType?) -> Unit)

Properties

Link copied to clipboard
protected open override val _uiState: MutableState<AboutUiState>

The mutable internal UI state.

Link copied to clipboard
open override val globalError: ReversiException?

Optional global error to display on initial load.

Link copied to clipboard
open override val setGlobalError: (Exception?, ErrorType?) -> Unit

Callback function to update global error state.