Class Dialog.QuestionDialog

  • Enclosing class:
    Dialog

    public static class Dialog.QuestionDialog
    extends Dialog.IdDialog
    Question dialog Used to ask a blocking question
    • Method Detail

      • getCancelText

        @MainThread
        public String getCancelText()
        Get the text of the cancel button
      • getAction1Text

        @MainThread
        public String getAction1Text()
        Get the text of the first button (optional, can be null)
      • getAction2Text

        @MainThread
        public String getAction2Text()
        Get the text of the second button (optional, can be null)
      • postAction

        @MainThread
        public void postAction​(int action)
        Post an answer
        Parameters:
        action - 1 for first action, 2 for second action