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

Highlight days in calendar not working #16

Open
nawinkhatiwada opened this issue Jun 24, 2020 · 1 comment
Open

Highlight days in calendar not working #16

nawinkhatiwada opened this issue Jun 24, 2020 · 1 comment
Assignees

Comments

@nawinkhatiwada
Copy link

I was trying to show highlight days for all Saturday But it's not working on both my project and sample project present in the library. it is working in date picker dialog but not in the calendar view.

   override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
        calendarView = view.findViewById(R.id.calendar)
        calendarView?.setOnDateSetListener(this)
        calendarView?.setHighlightedDays(DateConverter.getAllSaturdays())
    }

The version used: 3.0-beta
OS: Android Q, Pixel 2 API 19 emulator

View issue here:
https://imgur.com/9XAGrc5

@keyrunHORNET
Copy link
Owner

getAllSaturdays() is not a complete feature right now. You will have to provide your own array of days to setHighlightedDays() method.

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

No branches or pull requests

2 participants