# SimpleAlertDialog

open class SimpleAlertDialog

## Constructors

SimpleAlertDialog
Link copied to clipboard
constructor()

## Functions

show
Link copied to clipboard
open fun show(@NonNull context: Context, @NonNull title: String, @NonNull message: String)
open fun show(@NonNull context: Context, @NonNull title: String, @NonNull message: String, isCancelable: Boolean)
open fun show(@NonNull context: Context, @NonNull title: String, @NonNull message: String, @Nullable clickListener: DialogInterface.OnClickListener, isCancelable: Boolean)
open fun show(@NonNull context: Context, @NonNull title: String, @NonNull message: String, @Nullable positiveButtonText: String, @Nullable positiveListener: DialogInterface.OnClickListener, isCancelable: Boolean)
open fun show(@NonNull context: Context, @NonNull title: String, @NonNull message: String, @Nullable positiveButtonText: String, @Nullable positiveListener: DialogInterface.OnClickListener, @Nullable negativeButtonText: String, @Nullable negativeListener: DialogInterface.OnClickListener, isCancelable: Boolean)
open fun show(@NonNull context: Context, @NonNull title: String, @NonNull message: String, @Nullable positiveButtonText: String, @Nullable positiveListener: DialogInterface.OnClickListener, @Nullable negativeButtonText: String, @Nullable negativeListener: DialogInterface.OnClickListener, @Nullable cancelListener: DialogInterface.OnCancelListener, isCancelable: Boolean)
open fun show(@NonNull context: Context, themeResId: Int, @NonNull title: String, @NonNull message: String, @Nullable positiveButtonText: String, @Nullable positiveListener: DialogInterface.OnClickListener, @Nullable negativeButtonText: String, @Nullable negativeListener: DialogInterface.OnClickListener, @Nullable cancelListener: DialogInterface.OnCancelListener, isCancelable: Boolean)
This method to create the dialog and display it on screen.