@FunctionalInterface public static interface Dialog.QuestionCallback extends Dialog.CloseListener
Dialog.CloseListener extension which acts as callback for a question dialog to react to the user's response.| Modifier and Type | Method and Description |
|---|---|
default void |
dialogClosed(Dialog dialog,
Object actionId)
Invoked when the
Dialog is closed |
void |
questionResponse(boolean answeredYes)
Invoked when the question dialog is closed as a result of a user action.
|
default void dialogClosed(Dialog dialog, Object actionId)
Dialog.CloseListenerDialog is closeddialogClosed in interface Dialog.CloseListenerdialog - the dialog which was closedactionId - Optional id of the action which caused the dialog closurevoid questionResponse(boolean answeredYes)
answeredYes - true if the user selected the yes action, false
otherwiseCopyright © 2019 The Holon Platform. All rights reserved.