Package-level declarations

Types

Link copied to clipboard
data class DosageInformationUiModel(val currentDose: DosageRowInfoData, val targetDose: DosageRowInfoData, val progress: Float)

Represents the dosage information of a medication displayed in a medication card

Link copied to clipboard
data class DosageRowInfoData(val label: String, val dosageValues: List<String>)
Link copied to clipboard
data class MedicationCardUiModel(val id: String, val title: String, val subtitle: String, val videoPath: String?, val description: String, val isExpanded: Boolean, val statusIconResId: Int?, val statusColor: MedicationColor, val dosageInformation: DosageInformationUiModel?)

Represents the ui model displayed in a medication card

Link copied to clipboard
Link copied to clipboard
data class Medications(val medications: List<MedicationCardUiModel>, val expanded: Boolean)
Link copied to clipboard
sealed interface MedicationUiState

Represents the state of the medication screen.

Link copied to clipboard
class MedicationUiStateMapper @Inject constructor(context: Context)
Link copied to clipboard

Functions