[codenameone-discussions] Re: addMaterialCommandToOverflowMenu and ToastBar

2019-01-04 Thread shop . service . assistant
Thanks. On Thursday, January 3, 2019 at 10:34:10 PM UTC-5, Shai Almog wrote: > > Yes but you show it like this: > > ToastBar.showMessage("Test ToastBar On addCommandToRightBar.", > FontImage.MATERIAL_SAVE, 4000); > > You might need to wrap it in a callSerially when used in an overflow menu > sin

[codenameone-discussions] Re: addMaterialCommandToOverflowMenu and ToastBar

2019-01-03 Thread Shai Almog
Yes but you show it like this: ToastBar.showMessage("Test ToastBar On addCommandToRightBar.", FontImage.MATERIAL_SAVE, 4000); You might need to wrap it in a callSerially when used in an overflow menu since that menu is a dialog: callSerailly(() -> ToastBar.showMessage("Test ToastBar On addCom