Is there a callback when an AlertDialog is closed using the touch outside event? I have this enabled \"setCanceledOnTouchOutside(true)\". I want to set a visibility of a spe
I post Kotlin version because i was looking for it today and i had hard time
val builder = AlertDialog.Builder(requireContext()) builder.setTitle("title") builder.setMessage("message") builder.setOnCancelListener { func->Log.i("meh","meh") }