Added in API level 1

OnDismissListener


interface 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 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