Package de.hirola.sportslibrary.ui
Class ModalOptionDialog
- java.lang.Object
-
- de.hirola.sportslibrary.ui.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModalOptionDialog.Buttonstatic classModalOptionDialog.ButtonStylestatic classModalOptionDialog.DialogStylestatic interfaceModalOptionDialog.ModalOptionDialogListener
-
Constructor Summary
Constructors Constructor Description ModalOptionDialog()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidshowMessageDialog(int dialogStyle, @Nullable android.content.Context context, @Nullable String title, @NotNull String message, @Nullable String buttonText)static voidshowThreeOptionsDialog(@Nullable android.content.Context context, @Nullable String title, @NotNull String message, @NotNull String optionOneButtonText, @NotNull String optionTwoButtonText, @Nullable String optionThreeButtonText, @NotNull ModalOptionDialog.ModalOptionDialogListener buttonClickListener)static voidshowYesNoDialog(@Nullable android.content.Context context, @Nullable String title, @NotNull String message, @Nullable String positiveButtonText, @Nullable String negativeButtonText, @NotNull ModalOptionDialog.ModalOptionDialogListener buttonClickListener)
-
-
-
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)
-
-