mad-arch-ui-elements-state.png

UI Elements are the individual elements. These elements have State. That is called the UI State.

class NewsViewModel(...) : ViewModel() {
	val uiState: NewsUiState = ...	
}
class NewsViewModel(
	private val repository: NewsRepository,
	...
) : ViewModel() {
	
	var uiState by mutableStateOf(NewsUiState())
	

The only job done by the UI is changing the UI elements based on the UI state. The UI Layer DOES NOT CHANGE THE STATE!