|
@@ -77,6 +77,7 @@ class CallRecordsItemAdapter(val data:ArrayList<InteractionVO>) : BaseDelegateAd
|
|
binding.tabImagev.setImageResource(R.drawable.lai_dian_tou_xiang_bg)
|
|
binding.tabImagev.setImageResource(R.drawable.lai_dian_tou_xiang_bg)
|
|
binding.callListReply.visibility = View.GONE
|
|
binding.callListReply.visibility = View.GONE
|
|
binding.callSosReply.visibility = View.GONE
|
|
binding.callSosReply.visibility = View.GONE
|
|
|
|
+ return
|
|
}
|
|
}
|
|
|
|
|
|
//是否已处理
|
|
//是否已处理
|
|
@@ -134,6 +135,15 @@ class CallRecordsItemAdapter(val data:ArrayList<InteractionVO>) : BaseDelegateAd
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ //门口机呼叫记录
|
|
|
|
+ if (itemData.fromDeviceType != null && itemData.fromDeviceType == 3) {
|
|
|
|
+ binding.sickbedTv.text = itemData.fromFrameFullName
|
|
|
|
+ binding.nameTv.text = "门口机"
|
|
|
|
+ binding.callStatusImagev.visibility = View.GONE
|
|
|
|
+ binding.callListReply.visibility = View.GONE
|
|
|
|
+ binding.callSosReply.visibility = View.GONE
|
|
|
|
+ }
|
|
|
|
+
|
|
binding.callListReply.setOnClickListener {
|
|
binding.callListReply.setOnClickListener {
|
|
if (!Constants.ids.equals("")) {
|
|
if (!Constants.ids.equals("")) {
|
|
if (itemData.actionDirectionType == 1 && itemData.fromDeviceId != null && itemData.fromDeviceId != Constants.ids!!.toInt()) {
|
|
if (itemData.actionDirectionType == 1 && itemData.fromDeviceId != null && itemData.fromDeviceId != Constants.ids!!.toInt()) {
|