fun setOnDismissListener(listener: (() -> Unit)?): Unit
Sets a listener that is called when this popup window is dismissed.
listener - Listener that is called when this popup window is dismissed.
listener