Added in API level 1

DialogInterface.OnDismissListener


public static interface DialogInterface.OnDismissListener

android.content.DialogInterface.OnDismissListener
DialogFragment This class was deprecated in API level 28. Use the Support Library DialogFragment for consistent behavior across all devices and access to Lifecycle. 
DialogPreference This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings. 
EditTextPreference This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings. 
ListPreference This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings. 
MultiSelectListPreference This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings. 
PreferenceScreen This class was deprecated in API level 29. Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings. 
SearchManager This class provides access to the system search services. 


Interface used to allow the creator of a dialog to run some code when the dialog is dismissed.

Summary

Public methods

abstract void onDismiss(DialogInterface dialog)

This method will be invoked when the dialog is dismissed.

Public methods

onDismiss

Added in API level 1
public abstract void onDismiss (DialogInterface dialog)

This method will be invoked when the dialog is dismissed.

Parameters
dialog DialogInterface: the dialog that was dismissed will be passed into the method