Android Prevent Dialog Touch (Outside Black Overlay Background) Close/Dismiss (Kotlin)

April 13, 2019
val dialog = BusyDialogFragment.newInstance()
// prevent dismiss by user click
dialog.isCancelable = false
dialog.show(supportFragmentManager, "busy")
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.