Thanks, I tried to cache some forms but it didnt seem to keep the complete
form.
For example once I have set up the UI and then populated it, I call this in
postShow():
cachedForm=getCurrentForm();
then if I come back to the form I do
if (cachedForm!=null)
{
cachedForm.show();
return;
}
this works but it does not show the changes I made to the form, for example
most of my forms are full of empty containers, at run time I use
createContainer to swap in various things I have designed in the gui
editor, but none of them appear on the cached form.
Did I do it wrong somehow ?
On Wednesday, March 6, 2019 at 11:58:07 AM UTC+8, Shai Almog wrote:
>
> start() literally caches the last Form. You don't need to throw away the
> Form objects.
>
--
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/6642b67d-f6b4-4049-9f51-3945907ade54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.