SelectionMode

sealed interface SelectionMode : Serializable

Describes the selection behaviour

Inheritors

Types

Link copied to clipboard

No date can be selected

Link copied to clipboard
data class Range(val startSelectionHint: CalendarParams.DayCellAccessibilityLabel? = null, val endSelectionHint: CalendarParams.DayCellAccessibilityLabel? = null, val startSelectionState: CalendarParams.DayCellAccessibilityLabel? = null, val startAndEndSelectionState: String? = null, val endSelectionState: CalendarParams.DayCellAccessibilityLabel? = null, val betweenSelectionState: String? = null, val contentDescription: (LocalDate) -> String? = null) : CalendarParams.SelectionMode

A range of dates can be selected.

Link copied to clipboard
data class Single(val startSelectionHint: CalendarParams.DayCellAccessibilityLabel? = null, val noSelectionState: String? = null, val startSelectionState: CalendarParams.DayCellAccessibilityLabel? = null, val contentDescription: (LocalDate) -> String? = null) : CalendarParams.SelectionMode

Accessibility labels are NOT supported in the view version