set Dialog On Cancel Listener
open fun setDialogOnCancelListener(@Nullable dialogCancelListener: DialogInterface.OnCancelListener)
Sets a DialogInterface.OnCancelListener that will be informed when the progress dialog was cancelled by the user. Calling this method will replace any previously set listener. You may provide null
to clear the listener.
Parameters
dialog Cancel Listener
DialogInterface.OnCancelListener that should be notified, or null
to clear the listener.