Added in API level 1

OnDismissListener


interface OnDismissListener
DialogFragment

A fragment that displays a dialog window, floating on top of its activity's window.

DialogPreference

A base class for Preference objects that are dialog-based.

PreferenceScreen

Represents a top-level Preference that is the root of a Preference hierarchy.

SearchManager

This class provides access to the system search services.

EditTextPreference

A Preference that allows for string input.

ListPreference

A Preference that displays a list of entries as a dialog.

MultiSelectListPreference

A Preference that displays a list of entries as a dialog.

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

Summary

Public methods
abstract Unit

This method will be invoked when the dialog is dismissed.

Public methods

onDismiss

Added in API level 1
abstract fun onDismiss(dialog: DialogInterface!): Unit

This method will be invoked when the dialog is dismissed.

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