Then this Javadoc is confusing or incorrect: Invokes runnable and blocks the current thread, if the current thread is the > edt it will still be blocked however a separate thread would be launched > to perform the duties of the EDT while it is blocked. Once blocking is > finished > the EDT would be restored to its original position. >
My reading of that is that calling invoke and block on the EDT invokes the runnable on the EDT and moves drawing / events to another thread while its blocked. If this is no good, what is an approach for drawing on a number of images on iOS while showing an infinite progress dialog so that the UI doesn't hang? On Monday, July 18, 2016 at 4:58:11 PM UTC+12, Shai Almog wrote: > > 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 from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/7abb581f-ccd7-404f-8b50-e0831e9cba7b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
