Hi! I had a question. Why setMaxDate is not availa...
# android
v
Hi! I had a question. Why setMaxDate is not available in Kotlin's DatePickerDialog? I am attaching the picture of code. You see, the IDE doesn't seem to suggest me setMaxDate and insetead suggests about maxDate which is another function
n
It’s a property access syntax, you can use it as getter or setter. To set value simply use like
maxDate = date
v
Thanks! @Nikolay Puliaev