maxkeppeler / sheets-compose-dialogs

✨ Enhancing Android UIs: A Jetpack Compose Library supporting a wide range of common use-cases with Material Design 3 Dialogs, Popups, and Bottom Sheets. ✨

Home Page:https://maxkeppeler.github.io/sheets-compose-dialogs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Variable for text on screen

dsg25 opened this issue · comments

Sorry of nubs question.
How I get date (time) var for display on screen?

I'm not sure if I understand it correctly.

Here's an example:

  CalendarDialog(
        state = rememberUseCaseState(visible = true),
        config = CalendarConfig(
            yearSelection = true,
            monthSelection = true,
            style = CalendarStyle.MONTH,
            disabledDates = disabledDates
        ),
        selection = CalendarSelection.Date { date ->
           // Your date is here
        },
    )

Check out the other documentation for more examples / samples.