public final class ConfirmationDialog
extends androidx.appcompat.app.AlertDialog
implements android.content.DialogInterface.OnClickListener
androidx.appcompat.app.AlertDialog.Builder
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
Constructor and Description |
---|
ConfirmationDialog(android.content.Context context,
int message,
int action) |
Modifier and Type | Method and Description |
---|---|
io.reactivex.Observable<java.lang.Object> |
cancels() |
boolean |
dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent event) |
void |
onClick(android.content.DialogInterface dialog,
int which) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
io.reactivex.Observable<java.lang.Object> |
positiveButtonClicks() |
getButton, getListView, onKeyDown, onKeyUp, setButton, setButton, setButton, setCustomTitle, setIcon, setIcon, setIconAttribute, setMessage, setTitle, setView, setView
addContentView, dispatchKeyEvent, findViewById, getDelegate, getSupportActionBar, invalidateOptionsMenu, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onWindowStartingSupportActionMode, setContentView, setContentView, setContentView, setTitle, supportRequestWindowFeature
cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchTouchEvent, dispatchTrackballEvent, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getWindow, getVolumeControlStream, hide, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
public ConfirmationDialog(@NonNull android.content.Context context, @StringRes int message, int action)
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate
in class androidx.appcompat.app.AlertDialog
public void onClick(android.content.DialogInterface dialog, int which)
onClick
in interface android.content.DialogInterface.OnClickListener
public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent event)
dispatchPopulateAccessibilityEvent
in interface android.view.Window.Callback
dispatchPopulateAccessibilityEvent
in class android.app.Dialog
public io.reactivex.Observable<java.lang.Object> positiveButtonClicks()
public io.reactivex.Observable<java.lang.Object> cancels()