If you are experiencing an issue please mention the full platform your
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device IOS & Android
I have a case where a dialog is open and the app becomes suspended. (IOS
button at bottom was pressed)
Then when the App is resumed, The Dialog is no longer modal/visible,
however when re-opening the dialog, I get Internal Application Error,
component is already contained in container.
How does one usually handle suspension as it relates to Open Dialogs?
PS: I utilize stop() and handel what is known to me and clean up etc.
current = Display.getInstance().getCurrent();
if (current instanceof Dialog) {
((Dialog) current).dispose();
current = Display.getInstance().getCurrent();
}
How do I get the Dialog to be modal/visible after the app is awoken?
in my start() method, I do this:
if (current != null) {
current.show();
}
Thanks in advance.
Regards.
--
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/522875ae-148d-48b7-a7ca-99aba7c4703c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.