Skip to content
New issue

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

How can we send an Event date. I mean in what format? Can you give an example where a particular date like 12 May 2019 has different color? #1

Open
h1rogue opened this issue May 22, 2019 · 1 comment

Comments

@h1rogue
Copy link

h1rogue commented May 22, 2019

No description provided.

@BenDenger
Copy link

you can set the color of an event by adding

        val sdf = SimpleDateFormat("dd MMMM yyyy", Locale.ENGLISH)
        val date = sdf.parse("12 May 2019").time
        calendarView.addEvent(Event(date, "Event", Color.GREEN))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants