FrequencyUIProvider
interface FrequencyUIProvider
UI rendering contract for the frequency picker's labels and controls.
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun FrequencyTypeDropdown(modifier: Modifier, title: String, items: List<Frequency.Type>, selected: Frequency.Type, itemText: (Frequency.Type) -> String, onItemSelected: (Frequency.Type) -> Unit)
Renders the selector for daily, weekly, monthly, or yearly frequency.
Link copied to clipboard
Renders the read-only time slot that opens the time picker when tapped.
Link copied to clipboard
abstract fun LabeledField(label: String, modifier: Modifier, errorMessage: String?, content: @Composable () -> Unit)
Groups a field label with its control, such as the interval label and number input.
Link copied to clipboard
abstract fun NumberInput(modifier: Modifier, value: String, onValueChange: (String) -> Unit, title: String, keyboardType: KeyboardType, readOnly: Boolean)
Renders the editable interval field.
Link copied to clipboard
abstract fun TimeInput(selectedTime: LocalTime, onTimeSelected: (LocalTime) -> Unit, title: String, setup: TimePickerSetup, modifier: Modifier)
Renders the time slot and its time-picker dialog, reporting edits through onTimeSelected.