Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

DialogInterface.OnDismissListener

public static interface DialogInterface.OnDismissListener

android.content.DialogInterface.OnDismissListener


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