This question is locked. New answers and comments are not allowed.
I'm working on a Calendar now that has a variety of renders.
To handle all of this I've extended the RadCalendarView for some basic configurations. Then I created a custom Decorator to handle some of the different cell drawings I needed.
Now I need to change some behavior on a cell tap. So I was looking at handling the tap gesture. There doesn't seem to be a way to set or pass in any sort of tap gesture handler so I looked in to overriding the CalendarSelectionManager to intercept it. However, if I extend the CalendarSelectionManager I get a NullPointerException in handleTapGesture on CalendarSelectionManager.java:193. If I override the handleTapGesture and comment out the super call, it does not NPE. This seems like a bug but it appears to happen for all touch listeners and handlers so I wasn't sure if I missed something. I've tried extending the gesture manager but run in to the same problems.
All I want to do is intercept a date selection when it's tapped and know which cell was selected. Is this possible?
To handle all of this I've extended the RadCalendarView for some basic configurations. Then I created a custom Decorator to handle some of the different cell drawings I needed.
Now I need to change some behavior on a cell tap. So I was looking at handling the tap gesture. There doesn't seem to be a way to set or pass in any sort of tap gesture handler so I looked in to overriding the CalendarSelectionManager to intercept it. However, if I extend the CalendarSelectionManager I get a NullPointerException in handleTapGesture on CalendarSelectionManager.java:193. If I override the handleTapGesture and comment out the super call, it does not NPE. This seems like a bug but it appears to happen for all touch listeners and handlers so I wasn't sure if I missed something. I've tried extending the gesture manager but run in to the same problems.
All I want to do is intercept a date selection when it's tapped and know which cell was selected. Is this possible?