[codenameone-discussions] Re: AutoCompleteTextField and potentially long filtering?

2019-04-17 Thread Shai Almog
Everything is called on the EDT except when explicitly stated otherwise. This is especially true for the UI. Asynchronous doesn't mean it isn't invoked on the EDT it means that it is called later but it would still be on the EDT. You can block using "legal" means such as addToQueueAndWait or inv

[codenameone-discussions] AutoCompleteTextField and potentially long filtering?

2019-04-17 Thread Thomas
The update of the suggestions popup of an AutoCompleteTextField is said to be completely asynchronous. However, looking at the code of the AutoCompleteTextField class, it looks like the filtering and creation of the model for the popup is called on the EDT thread directly. The only thing I see