lightbulb_outline Please take our October 2018 developer survey. Start survey
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