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
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
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
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