I've added 5 decorators, and the performances are incredibly terrible (I have a Nexus 5X).
Every time I call calendar.invalidateDecorators(); it takes about 3 seconds to finish.
Could this at least be moved in some background task? because it makes even sliding to the new month really slow.
Thanks!
+1
May be related to #8
+1, I'm also using 7 spans and it takes about 5 seconds on my Nexus 6P to show all the DotSpans...
There's another bug which the source is the same as this, when clicking a date to add a decorator, the fading out animation of the previous selection doens't happen and it looses the smoothness.
@tizianh I'm trying to add 3 DotSpans aligned in the same date, how did you do it?
@joaosardinha I have 3 different classes which all extend DayViewDecorator and in there I create MyCustomSpan which implements LineBackgroundSpan and in there I draw my circle in the right corner and with the right padding to place 3 next to each other. So I just call MyCustomSpan with a different padding each time (-20, 0, 20 for example).
Is there any update to that issue yet?
+1
+1 Is there any good way to optimize this performance problem?
+1
Most helpful comment
+1 Is there any good way to optimize this performance problem?