fix bugs.
This commit is contained in:
@@ -29,6 +29,7 @@ import com.xscm.moduleutil.bean.WalletBean
|
||||
import com.xscm.moduleutil.bean.room.RoomInfoResp
|
||||
import com.xscm.moduleutil.bean.room.RoomPitBean
|
||||
import com.xscm.moduleutil.bean.room.RoomUserBean
|
||||
import com.xscm.moduleutil.dialog.ConfirmDialog
|
||||
import com.xscm.moduleutil.utils.ClickUtils
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
@@ -233,7 +234,18 @@ class RoomMentorShipFragment(var mRoomInfo: RoomInfoResp?) :
|
||||
}
|
||||
|
||||
R.id.tv_time_right -> {
|
||||
MvpPre.signEnd(mSignId!!)
|
||||
// 创建并显示确认对话框
|
||||
ConfirmDialog(
|
||||
ActivityUtils.getTopActivity(),
|
||||
"提示",
|
||||
"确定要结束此次签约吗?",
|
||||
"确认",
|
||||
"取消",
|
||||
{ v: View? ->
|
||||
MvpPre.signEnd(mSignId!!)
|
||||
},
|
||||
{ v: View? -> }, false, 0
|
||||
).show()
|
||||
}
|
||||
|
||||
R.id.iv_help -> {
|
||||
@@ -269,7 +281,7 @@ class RoomMentorShipFragment(var mRoomInfo: RoomInfoResp?) :
|
||||
mBinding.tvSignDay.visibility = View.GONE
|
||||
}
|
||||
|
||||
mBinding.tvTime.text = "倒计时 00:00"
|
||||
mBinding.tvTime.text = "倒计时 00:00:00"
|
||||
setIvForMai(0)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user