HealthUiStateMapper

class HealthUiStateMapper @Inject constructor(localeProvider: LocaleProvider)

Constructors

Link copied to clipboard
@Inject
constructor(localeProvider: LocaleProvider)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun mapToHealthData(records: List<Record>, selectedTimeRange: TimeRange): HealthUiState
Link copied to clipboard
fun updateTimeRange(currentUiState: HealthUiState, newTimeRange: TimeRange): HealthUiState