Cannot access CalendarConstraints' properties like getStart, getEnd, etc.
See original GitHub issueIn latest MDC version getting properties like getStart
or getEnd
seems no longer available. You can only get the date validator.
Using 1.7.0-alpha03
val x = CalendarConstraints.Builder()
.setStart(oldestDate)
.setEnd(minDate)
.setOpenAt(minDate)
.setValidator(DateValidatorPointBackward.before(minDate)) // Disable future days
.build()
x.dateValidator
Issue Analytics
- State:
- Created a year ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Cannot access CalendarConstraints' properties like getStart, getEnd ...
In latest MDC version getting properties like getStart or getEnd seems no longer available. You can only get the date validator. Using 1.7.0-alpha03...
Read more >material-components-android - bytemeta
Cannot access CalendarConstraints ' properties like getStart, getEnd, etc. ericsia. ericsia CLOSED · Updated 1 month ago ...
Read more >afohrman - Github Plus
Cannot access CalendarConstraints ' properties like getStart, getEnd, etc. In latest MDC version getting properties like getStart or getEnd seems no longer ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it should be included in the next alpha release
Android Dev Summit: https://developer.android.com/events/dev-summit
Not sure where is this year’s announcement though…