CalendarSelection
The selection configuration for the calendar dialog.
Inheritors
Types
Link copied to clipboard
class Date(val withButtonView: Boolean = true, val extraButton: SelectionButton? = null, val onExtraButtonClick: () -> Unit? = null, val negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, val onNegativeClick: () -> Unit? = null, val positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, val selectedDate: LocalDate? = null, val onSelectDate: (date: LocalDate) -> Unit) : CalendarSelection
Select a date.
Link copied to clipboard
class Dates(val extraButton: SelectionButton? = null, val onExtraButtonClick: () -> Unit? = null, val negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, val onNegativeClick: () -> Unit? = null, val positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, val selectedDates: List<LocalDate>? = null, val onSelectDates: (dates: List<LocalDate>) -> Unit) : CalendarSelection
Select multiple dates.
Link copied to clipboard
class Period(val withButtonView: Boolean = true, val extraButton: SelectionButton? = null, val onExtraButtonClick: () -> Unit? = null, val negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, val onNegativeClick: () -> Unit? = null, val positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, val selectedRange: Range<LocalDate>? = null, val onSelectRange: (startDate: LocalDate, endDate: LocalDate) -> Unit) : CalendarSelection
Select a range (start and end date).