Material-calendarview: How to refresh the Decorators?

Created on 16 Sep 2015  路  3Comments  路  Source: prolificinteractive/material-calendarview

I have added the decorators on activity create like the sample.
And I need refresh the decorators status or remove decorators or change the color when I add a new event or delete event.Please help,Thanks!

question

Most helpful comment

I know this is closed. But in case you feel that your view is not getting updated after removing decorators. Check the data set which was passed. I was passing old data set and was wondering this functionality is not working. May help someone looking specifically at this.

All 3 comments

To remove, you can call removeDecorator() or removeDecorators(). And to refresh decorators after one has changed, you call invalidateDecorators().

I know this is closed. But in case you feel that your view is not getting updated after removing decorators. Check the data set which was passed. I was passing old data set and was wondering this functionality is not working. May help someone looking specifically at this.

Yes i faced issue

Was this page helpful?
0 / 5 - 0 ratings