material-calendarview icon indicating copy to clipboard operation
material-calendarview copied to clipboard

Pass the date to DayViewDecorator.decorate

Open dalewking opened this issue 4 years ago • 1 comments

As noted in #162 the fact that when DayViewDecorator.decorate is called you do not know the date is very cumbersome. If you have complex decorators you end up having to have a separate decorator for all possible visual combinations which is ridiculous. Passing the date that is being decorated would greatly simplify things.

dalewking avatar May 25 '21 22:05 dalewking

I'm having this issue too. I'm trying to decorate certain dates with specific "Event" names and I can't figure out how to do it without DayViewDecorator.decorate knowing the date being decorated. Has there been a solution or a workaround?

emm-an-uel avatar Jan 02 '23 22:01 emm-an-uel