[codenameone-discussions] Re: Image drawing on iOS is erratic

2016-08-10 Thread Shai Almog
Drawing to images on iOS relies on a buffer which is global so it can't be threadsafe. You can use a UITimer to create the clocks one by one on the EDT and cancel the timer when you are done. -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Image drawing on iOS is erratic

2016-08-10 Thread nickkoirala
I'm drawing clocks for a list of events that have different times that need to be displayed. I am caching them so they aren't generated every time but they do need to be generated at some point. Currently there are about 20 and it takes under a second so it just 'sticks' the UI briefly. I

[codenameone-discussions] Re: Image drawing on iOS is erratic

2016-07-18 Thread Shai Almog
Yes, I refined the JavaDoc there. We didn't touch it since 2007. The EDT section in the developer guide explains this better. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails

[codenameone-discussions] Re: Image drawing on iOS is erratic

2016-07-17 Thread Shai Almog
invokeAndBlock is by definition off the EDT. iOS is really sensitive to off EDT drawing due to the way offline images are drawn there (they use a global context object). -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe