채금 다이얼로그 - 취소 버튼 동작 추가
This commit is contained in:
parent
fbad5f9d98
commit
2cfc4b97f4
|
@ -1325,9 +1325,12 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun agoraConnectFail() {
|
private fun agoraConnectFail() {
|
||||||
|
handler.post {
|
||||||
|
loadingDialog.dismiss()
|
||||||
showToast("라이브에 접속하지 못했습니다.\n다시 시도해 주세요.")
|
showToast("라이브에 접속하지 못했습니다.\n다시 시도해 주세요.")
|
||||||
finish()
|
finish()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private val rtcEventHandler = object : IRtcEngineEventHandler() {
|
private val rtcEventHandler = object : IRtcEngineEventHandler() {
|
||||||
@SuppressLint("NotifyDataSetChanged")
|
@SuppressLint("NotifyDataSetChanged")
|
||||||
|
|
|
@ -32,6 +32,10 @@ class LiveRoomNoChattingDialog(
|
||||||
alertDialog.setCancelable(false)
|
alertDialog.setCancelable(false)
|
||||||
alertDialog.window?.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
alertDialog.window?.setBackgroundDrawable(ColorDrawable(Color.TRANSPARENT))
|
||||||
|
|
||||||
|
dialogView.tvCancel.setOnClickListener {
|
||||||
|
alertDialog.dismiss()
|
||||||
|
}
|
||||||
|
|
||||||
dialogView.tvConfirm.setOnClickListener {
|
dialogView.tvConfirm.setOnClickListener {
|
||||||
alertDialog.dismiss()
|
alertDialog.dismiss()
|
||||||
confirmButtonClick()
|
confirmButtonClick()
|
||||||
|
|
Loading…
Reference in New Issue