You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BasicKalendarEvent is a ready-to-use data class implementation. All three optional fields
default to null so existing implementations remain source-compatible.
Property
Description
date
Date the event falls on.
eventName
Short display name.
eventDescription
Optional longer description.
startTime
Optional start date-time; events on the same day sort by this in Agenda view.
endTime
Optional end date-time; shown alongside startTime in Agenda view.
eventColor
Per-event indicator dot colour; falls back to KalendarDayConfig.indicatorColor.
OnDaySelectionAction
sealedclassOnDaySelectionAction {
data classSingle(valonDayClick: (LocalDate, List<KalendarEvent>) ->Unit) : OnDaySelectionAction()
data classMultiple(valonDayClick: (LocalDate, List<KalendarEvent>) ->Unit) : OnDaySelectionAction()
data classRange(valonRangeSelected: (KalendarSelectedDayRange, List<KalendarEvent>) ->Unit) : OnDaySelectionAction()
companionobject {
valNoOp:OnDaySelectionAction
}
}
KalendarSelectedDayRange
data classKalendarSelectedDayRange(
overridevalstart:LocalDate,
overridevalendInclusive:LocalDate,
) : ClosedRange<LocalDate>