BpkCalendarController

class BpkCalendarController(initialParams: CalendarParams, initialSelection: CalendarSelection = CalendarSelection.None, lazyGridState: LazyGridState = LazyGridState(), onSelectionChanged: (CalendarSelection) -> Unit)

Constructors

Link copied to clipboard
constructor(initialParams: CalendarParams, initialSelection: CalendarSelection = CalendarSelection.None, lazyGridState: LazyGridState = LazyGridState(), onSelectionChanged: (CalendarSelection) -> Unit)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun scrollToDate(date: LocalDate)

Scrolls to a specific date in a calendar. Does nothing if the date is out of range.

Link copied to clipboard

Updates the parameters of the calendar.

Link copied to clipboard

Sets the selection of a calendar.

Link copied to clipboard
suspend fun smoothScrollToDate(date: LocalDate)

Scrolls with animation to a specific date in a calendar. Does nothing if the date is out of range.