|
|
@@ -2,6 +2,7 @@ package com.yingyangfly.home.activity
|
|
|
|
|
|
import android.annotation.SuppressLint
|
|
|
import android.text.TextUtils
|
|
|
+import android.util.Log
|
|
|
import android.view.MotionEvent
|
|
|
import android.view.View
|
|
|
import androidx.recyclerview.widget.GridLayoutManager
|
|
|
@@ -738,6 +739,12 @@ class HomeActivity : BaseMVVMActivity<ActivityHomeBinding, HomeViewModel>(),
|
|
|
customData: ByteArray?
|
|
|
) {
|
|
|
super.onRecvC2CCustomMessage(msgID, sender, customData)
|
|
|
+ Log.e("wpp", "自定义消息-------------------------" + customData.toString())
|
|
|
+ }
|
|
|
+
|
|
|
+ override fun onRecvC2CTextMessage(msgID: String?, sender: V2TIMUserInfo?, text: String?) {
|
|
|
+ super.onRecvC2CTextMessage(msgID, sender, text)
|
|
|
+ Log.e("wpp", "普通消息-------------------------" + text)
|
|
|
}
|
|
|
}
|
|
|
}
|