Android Question MaterialDateTimePicker - How to use "HighlightedDays"

jtare

Active Member
Licensed User
Longtime User
I'm trying to use the property "HighlightedDays()() As Calendar" but I can't make it work, I'm not sure how to.

I tried
B4X:
        Dim cal As Calendar
        cal.Initialize("MMM dd, yyyy",cal.US,DateTime.Date(DateTime.Now))
        date.HighlightedDays = Array(cal)
B4X:
        Dim cal As Calendar
        cal.Initialize("MMM dd, yyyy",cal.US,DateTime.Date(DateTime.Now))
        date.HighlightedDays = Array As Calendar(cal)
And many others... Does someone the right way to use this property? Thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…