memfis19 / Cadar

Android solution which represents month and list calendar views.
MIT License
360 stars 48 forks source link

When adding event decorator, `OnEventClickListener` doesn't receive Event anymore #10

Closed Diederikjh closed 7 years ago

Diederikjh commented 7 years ago

Hi, I am playing around with the sample app, and added a OnEventClickListener object to the listCalendar member in the ListCalendarActivity.

When I just add the event click listener, the event always comes back as null.

If I remove the line listBuilder.setEventLayout(R.layout.custom_event_layout, eventDecoratorFactory); however, it seems to work again. Looks to me like the event decorator factory, doesn't save the event when binding the view.

memfis19 commented 7 years ago

Hi, I've just fixed it. Will be available in 1-2 hrs in version 0.2.2.

memfis19 commented 7 years ago

Will be available in 1-2 hrs via jCenter. Code is already available.

Diederikjh commented 7 years ago

Cool, looks like this fixed it. Thanks