I will look into UITimer. What I have done for now is in showListener I create a timer. In the timer event i check if (Display.getInstance().getCurrent() != this) and kill the timer. That seems to work so far.
On Saturday, October 15, 2016 at 7:47:24 PM UTC-7, Shai Almog wrote: > > If you use UITimer it will not invoke if the form is hidden. However it > will keep counting down so it might invoke immediately if the form is shown. > -- 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/c4fc5804-f70f-4fa9-8fc1-a274a06cc7e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
