BpkCalendarController

Constructors

Link copied to clipboard
constructor(initialParams: CalendarParams, coroutineScope: CoroutineScope, lazyGridState: LazyGridState = LazyGridState())

Properties

Link copied to clipboard
open override val effects: SharedFlow<CalendarEffect>
Link copied to clipboard
open override val state: StateFlow<CalendarState>

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
open override fun setParams(value: CalendarParams)
Link copied to clipboard
open override fun setSelection(selection: CalendarSelection)
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.