setCancelableDialog

fun setCancelableDialog(cancelable: Boolean)

Sets whether the dialog can be canceled by pressing back button or touching outside.
Applied immediately if dialog is already showing.

뒤로 가기 버튼을 누르거나 외부를 터치하여 다이얼로그를 취소할 수 있는지 설정합니다.
다이얼로그가 이미 표시 중인 경우 즉시 적용됩니다.

Parameters

cancelable

True to allow cancellation, false to prevent it.

취소를 허용하려면 true, 방지하려면 false.