Hi, it's hard to read this block of code. I suggest not using replace for something that's invoked so frequently as components replaced while they are themselves replaced might produce... This.
See https://www.codenameone.com/javadoc/com/codename1/ui/Toolbar.html You can see the search sample where we use layout animation and hide to achieve this effect. -- 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/1bd25227-757d-45ab-872a-6bfb8a1e8d2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
