如何使 indeterminateProgressDialog
不可取消? alert
有一个isCancelable
属性,但是indeterminateProgressDialog
好像没有,如何解决?
最佳答案
试试这个:
indeterminateProgressDialog(R.string.wait_for_loading).apply {
setCancelable(false)
}
关于android - 如何使 Anko 中的 indeterminateProgressDialog 不可取消?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49847728/