12-05-2012 04:16 AM
Solved! Go to Solution.
12-05-2012 04:17 AM
I saw in the document that one button and one dismiss call back could be defined, that's two.
But what about three call backs?
Thanks ![]()
12-05-2012 01:08 PM
Toasts are really meant to be notifications style UI components. For that reason we provide a button if you would like some specific user acknoledgment. But they are not designed to be a modal style notification.
If you would like to display multiple options for a user to select you can use a Dialog as per the following documention:
- https://developer.blackberry.com/html5/apis/blackb
You can take our HTML and CSS and make your own toast div and just show/hide as desired if ours is not flexible enough for you.
12-06-2012 09:00 AM - edited 12-06-2012 09:02 AM
Dear erikjohnzon,
Thanks for your reply, does that means dialog is feasible for reminder pop up? for example, for a task management app, the task management app hook some background thread for the reminder, and when the due time for a specify task is coming, can we pop up a dialog window to the user and promote three buttons to them, "Mark as done", "Postpone" and "Dismiss"?
Thanks again for your help ![]()
12-06-2012 09:03 AM - edited 12-06-2012 09:43 AM
That is a perfect function for a dialog. You can specify a three button dialog quite easily.
12-06-2012 09:42 AM
WOW, sounds great ![]()
Apprecaite for your great information
12-16-2012 03:41 AM