Browse Source

temp: roomActivity生命周期

Change-Id: I75b2efeb9a706fe08710a7090cde90c8627e6214
penganfu 1 year ago
parent
commit
9eae0eb650

+ 11 - 3
finoconversation/src/main/java/com/finogeeks/finochat/conversation/adapter/holder/SummaryViewHolder.kt

@@ -3,6 +3,7 @@ package com.finogeeks.finochat.conversation.adapter.holder
 import android.annotation.SuppressLint
 import android.content.Context
 import android.content.Intent
+import android.text.TextUtils
 import android.view.View
 import android.widget.Button
 import android.widget.ImageView
@@ -18,11 +19,19 @@ import com.finogeeks.finochat.repository.finoFeature
 import com.finogeeks.finochat.repository.finoOptions
 import com.finogeeks.finochat.repository.image.loader.ImageLoaders
 import com.finogeeks.finochat.repository.matrix.*
+import com.finogeeks.finochat.repository.statistics.EventName
+import com.finogeeks.finochat.repository.statistics.EventType
+import com.finogeeks.finochat.repository.statistics.StatisticsManager
 import com.finogeeks.finochat.router.RouterMap
 import com.finogeeks.finochat.services.AppType
+import com.finogeeks.finochat.services.ServiceFactory
 import com.finogeeks.finochat.utils.Log
 import com.finogeeks.finochat.utils.SecurityWallReplace
 import com.finogeeks.finochat.utils.externalMark
+import com.finogeeks.finocustomerserviceapi.AccountDataState
+import com.finogeeks.finocustomerserviceapi.CompensateStateReq
+import com.finogeeks.finocustomerserviceapi.ConsultService
+import com.finogeeks.finocustomerserviceapi.DispatchState
 import com.finogeeks.utility.views.BadgeView
 import com.google.gson.JsonObject
 import com.google.gson.JsonParser
@@ -317,8 +326,7 @@ class SummaryViewHolder(itemView: View,
 
             // 事件监听
             itemView.setOnClickListener {
-                Log.e("SummaryViewHolder", "anr test")
-/*                val session = ServiceFactory.getInstance().sessionManager
+                val session = ServiceFactory.getInstance().sessionManager
                         .getSession(summary.matrixId)
 
                 if (session != null && session.dataHandler != null) {
@@ -376,7 +384,7 @@ class SummaryViewHolder(itemView: View,
                             goRoom(summary)
                         }
                     }
-                }*/
+                }
             }
 
             itemView.setOnLongClickListener {