Class ModalOptionDialog


  • public final class ModalOptionDialog
    extends Object
    Copyright 2021 by Michael Schmidt, Hirola Consulting This software us licensed under the AGPL-3.0 or later. A dialog for user messages, alerts and to get decisions.
    Since:
    1.1.1
    Author:
    Michael Schmidt (Hirola)
    • Constructor Detail

      • ModalOptionDialog

        public ModalOptionDialog()
    • Method Detail

      • showMessageDialog

        public static void showMessageDialog​(int dialogStyle,
                                             @Nullable
                                             @Nullable android.content.Context context,
                                             @Nullable
                                             @Nullable String title,
                                             @NotNull
                                             @NotNull String message,
                                             @Nullable
                                             @Nullable String buttonText)
      • showYesNoDialog

        public static void showYesNoDialog​(@Nullable
                                           @Nullable android.content.Context context,
                                           @Nullable
                                           @Nullable String title,
                                           @NotNull
                                           @NotNull String message,
                                           @Nullable
                                           @Nullable String positiveButtonText,
                                           @Nullable
                                           @Nullable String negativeButtonText,
                                           @NotNull
                                           @NotNull ModalOptionDialog.ModalOptionDialogListener buttonClickListener)
      • showThreeOptionsDialog

        public static void showThreeOptionsDialog​(@Nullable
                                                  @Nullable android.content.Context context,
                                                  @Nullable
                                                  @Nullable String title,
                                                  @NotNull
                                                  @NotNull String message,
                                                  @NotNull
                                                  @NotNull String optionOneButtonText,
                                                  @NotNull
                                                  @NotNull String optionTwoButtonText,
                                                  @Nullable
                                                  @Nullable String optionThreeButtonText,
                                                  @NotNull
                                                  @NotNull ModalOptionDialog.ModalOptionDialogListener buttonClickListener)