|
@@ -83,11 +83,12 @@ class NewEventItemAdapter(var data:ArrayList<InteractionVO>, val activity: Activ
|
|
|
intent.putExtra(VoiceMsgActivity.TO_DEVICE_ID,toDeviceId)
|
|
|
activity.startActivity(intent)
|
|
|
}*/
|
|
|
+ binding.eliEventResponse.visibility = View.GONE
|
|
|
|
|
|
when (itemData.actionType){
|
|
|
TcpType.EVENT.name->{
|
|
|
binding.eliImRead.visibility = View.GONE
|
|
|
- binding.eliEventResponse.visibility = View.GONE
|
|
|
+ binding.eliEventResponse.visibility = View.VISIBLE
|
|
|
binding.eliEventName.text = itemData.data
|
|
|
if (itemData.actionEnd!=null){
|
|
|
binding.eliEventResponse.visibility = View.GONE
|
|
@@ -157,7 +158,7 @@ class NewEventItemAdapter(var data:ArrayList<InteractionVO>, val activity: Activ
|
|
|
binding.eliMemberName.text = ""
|
|
|
binding.eliEventName.setTextColor(activity.resources.getColor(R.color.warn_orange))
|
|
|
binding.eliImRead.visibility = View.GONE
|
|
|
- binding.eliEventResponse.visibility = View.GONE
|
|
|
+ binding.eliEventResponse.visibility = View.VISIBLE
|
|
|
binding.eliEventName.text = "SOS"
|
|
|
// binding.eliEventName.setBackgroundResource(R.drawable.sos_96)
|
|
|
if (itemData.actionEnd!=null){
|