HealthUiData
data class HealthUiData(val records: List<Record> = emptyList(), val chartData: List<AggregatedHealthData> = emptyList(), val tableData: List<TableEntryData> = emptyList(), val newestData: NewestHealthData? = null, val averageData: AverageHealthData? = null, val infoRowData: InfoRowData, val pendingActions: PendingActions<HealthAction.Async> = PendingActions(), val deleteRecordAlertData: DeleteRecordAlertData? = null, val valueFormatter: (Double) -> String)
Constructors
Link copied to clipboard
constructor(records: List<Record> = emptyList(), chartData: List<AggregatedHealthData> = emptyList(), tableData: List<TableEntryData> = emptyList(), newestData: NewestHealthData? = null, averageData: AverageHealthData? = null, infoRowData: InfoRowData, pendingActions: PendingActions<HealthAction.Async> = PendingActions(), deleteRecordAlertData: DeleteRecordAlertData? = null, valueFormatter: (Double) -> String)