Commit 40ff720c by 霍志良

feat:埋点

parent dcc2409d
......@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.81",
"m-home" : "0.0.22.82",
"m-im" : "0.0.20.05",
"m-im" : "0.0.20.06",
"m-dynamic" : "0.0.7.34",
"m-article" : "0.0.0.10",
......@@ -93,7 +93,7 @@ ext {
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.81",
"m-home" : "0.0.22.82",
"m-im" : "0.0.20.05",
"m-im" : "0.0.20.06",
"m-dynamic" : "0.0.7.34",
"m-article" : "0.0.0.8",
......
......@@ -85,7 +85,6 @@ class NewMultiMessageFragment : BaseFragment() {
override fun onResume() {
super.onResume()
startTime = System.currentTimeMillis()
getMsgData()
NIMClient.getService(MsgService::class.java).setChattingAccount(
MsgService.MSG_CHATTING_ACCOUNT_NONE,
......@@ -116,6 +115,7 @@ class NewMultiMessageFragment : BaseFragment() {
override fun setUserVisibleHint(isVisibleToUser: Boolean) {
super.setUserVisibleHint(isVisibleToUser)
if (isVisibleToUser && getIsViewCreated()) {
startTime = System.currentTimeMillis()
getMsgData()
count("ydl_user_message_page|ydl_user_message_page_visit")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment