[codenameone-discussions] Re: Cache a form?

2019-03-28 Thread Shai Almog
Are you using the old GUI builder? It's a bit problematic to cache forms in the old GUI builder. -- 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] Re: Cache a form?

2019-03-28 Thread Gareth Murfin
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) {

[codenameone-discussions] Re: Cache a form?

2019-03-05 Thread Shai Almog
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