添加震动

This commit is contained in:
2025-12-03 20:16:07 +08:00
parent 0d5e64e31a
commit 22a1f420ea
4 changed files with 98 additions and 3 deletions

View File

@@ -421,11 +421,12 @@ class RoomMentorShipFragment(var mRoomInfo: RoomInfoResp?) :
if (dialogMentorShip == null) {
dialogMentorShip = DialogMentorShip(ActivityUtils.getTopActivity())
}
dialogMentorShip?.setClickable(true)
dialogMentorShip?.show(list, mSignPitBean, walletBean,
object : DialogMentorShip.OnItemClickListener {
override fun onItemClick(coin: String) {
// 触发轻微震动
view?.performHapticFeedback(HapticFeedbackConstants.VIRTUAL_KEY)
dialogMentorShip?.setClickable(false)
MvpPre!!.signCoin(mSignId!!, coin)