MedicationUiState

sealed interface MedicationUiState

Represents the state of the medication screen.

Inheritors

Types

Link copied to clipboard
data class Error(val message: String) : MedicationUiState
Link copied to clipboard
Link copied to clipboard
data class NoData(val message: String) : MedicationUiState
Link copied to clipboard
data class Success(val medicationsTaking: Medications, val medicationsThatMayHelp: Medications, val colorKeyExpanded: Boolean) : MedicationUiState