ok, this solution works for an error situation. However I am seeing similar weird behaviour when I do: Form1 visible, click on button to show Form 2 Form2 during constructor calls toastbar and retrieves information from the server Form2 click on "back" calls parent.showBack() Form1 is reloaded but with toastbar visible and blocking.
Peter On Monday, August 29, 2016 at 9:34:40 PM UTC-7, Shai Almog wrote: > > When a Dialog is disposed it goes to the form that showed it. ToastBar is > bound to a specific form so it won't work as expected either. > > The solution is to showBack() and use an addShowListener before that. > Within the show listener show your toastbar or dialog. This will do the > back transition first and then show the dialog/toast. > -- 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 codenameone-discussions+unsubscr...@googlegroups.com. 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/a8b3316d-0a67-4089-9225-744bc7471bbe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.