ToastBar questions

36 views
Skip to first unread message

howud...@gmail.com

unread,
Sep 26, 2016, 8:45:43 PM9/26/16
to CodenameOne Discussions
Is there a way to make ToastBar modal so that it blocks ui touches?
Is there a simple way to hook ToastBar progress to ConnectionRequest for large dataset downloads to present a % complete?

Shai Almog

unread,
Sep 27, 2016, 1:24:24 AM9/27/16
to CodenameOne Discussions, howud...@gmail.com
No. You can however use either a dialog with show on the south or probably more appropriately an InteractionDialog.

See this for progress indicators: https://www.codenameone.com/blog/toast-downloads.html

howud...@gmail.com

unread,
Sep 27, 2016, 7:01:03 PM9/27/16
to CodenameOne Discussions, howud...@gmail.com
ok, nice I mimicked the ToastBar showConnectionProgress in my class and it worked fine.  
I'll look into interactiondialog to see about spinning my own that blocks user input
finally I noticed that the progress bar never becomes visible using the native theme in the simulator with ios 7

Shai Almog

unread,
Sep 28, 2016, 12:08:57 AM9/28/16
to CodenameOne Discussions, howud...@gmail.com
There is a long standing issue with the theming of progress bar in the iOS theme. We need to make some widgets more consistent across platforms.
Hopefully this will finally land for 3.6.
Reply all
Reply to author
Forward
0 new messages