...
|
...
|
@@ -76,6 +76,7 @@ class ChallengeActivity : |
|
|
// 标题弹窗
|
|
|
titleDialog.setListener(object : DialogListener {
|
|
|
override fun determine() {
|
|
|
titleDialog.dismiss()
|
|
|
finish()
|
|
|
}
|
|
|
})
|
...
|
...
|
@@ -120,7 +121,6 @@ class ChallengeActivity : |
|
|
|
|
|
mViewModel.challengeInfoLiveData.observe(this) {
|
|
|
if (!titleDialog.isShowing) {
|
|
|
|
|
|
// 点击外部不取消
|
|
|
titleDialog.setInfo("共${it.data.total_count}道题")
|
|
|
titleDialog.setTitleSpan("答对${it.data.correct_count}道题").show()
|
...
|
...
|
|