We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Im sorry but it is unclear how to get the actual selected date.
The text was updated successfully, but these errors were encountered:
Here is a sample of how it can be done with the date picker state
@Composable private fun Test( onSelectedDates: (List<LocalDate>) -> Unit ) { val state = rememberEpicDatePickerState( selectionMode = EpicDatePickerState.SelectionMode.Single(maxSize = Int.MAX_VALUE), config = rememberEpicDatePickerConfig( pagerConfig = rememberEpicCalendarPagerConfig( basisConfig = rememberBasisEpicCalendarConfig( displayDaysOfAdjacentMonths = false ) ), selectionContentColor = MaterialTheme.colorScheme.onPrimary, selectionContainerColor = MaterialTheme.colorScheme.primary ) ) Column { Text("current year and month: ${state.pagerState.currentMonth.year} ${state.pagerState.currentMonth.month.name}") EpicDatePicker( state = state ) } LaunchedEffect(state.selectedDates) { // dates changed onSelectedDates(state.selectedDates) } }
Sorry, something went wrong.
No branches or pull requests
Hi Im sorry but it is unclear how to get the actual selected date.
The text was updated successfully, but these errors were encountered: