AVCalendar icon indicating copy to clipboard operation
AVCalendar copied to clipboard

Showing updated Date/Time

Open daviddelmonte opened this issue 4 years ago • 1 comments

Hi, this is a great control - I can find nothing like it. However, I feel like I've been stepping all over your code today to do something simple...

Is there a way to grab the calendar information as it is being changed? Where is the best place to do this?

I'm aware that the start/stop button shows the information when the final date is selected. Thanks!

daviddelmonte avatar May 24 '20 03:05 daviddelmonte

Hi @daviddelmonte, thank you for the kind words. I know this might be too late for you but I'll post it anyways :)

Under the AVCustomCalendarViewModel, there is an updateDate method. This is called every time a date component is updated. You may wire a callback or fire a notification (your choice) to achieve this. Hope this helps. Let me know if you need anything else.

vyasanirudh avatar Jun 10 '20 07:06 vyasanirudh