Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
c41d5167
Commit
c41d5167
authored
2 years ago
by
范玉宾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
home article writedata done
parent
0b806b34
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
HomeBaseImpl.kt
m-home/src/main/java/com/yidianling/home/event/HomeBaseImpl.kt
+4
-1
HomeArticleView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeArticleView.kt
+3
-0
No files found.
m-home/src/main/java/com/yidianling/home/event/HomeBaseImpl.kt
View file @
c41d5167
...
...
@@ -539,7 +539,10 @@ open class HomeBaseImpl : IHomeBaseEvent {
return
}
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_ARTICLE_CLICK
,
bean
.
id
.
toString
())
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_USER_ARTICLE_CLICK
,
bean
.
id
.
toString
(),
bean
.
title
?:
""
)
YDLRouterManager
.
router
(
IYDLRouterConstant
.
ROUTER_H5_H5
,
...
...
This diff is collapsed.
Click to expand it.
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeArticleView.kt
View file @
c41d5167
...
...
@@ -5,6 +5,7 @@ import android.view.View
import
android.view.ViewGroup
import
android.widget.LinearLayout
import
androidx.recyclerview.widget.RecyclerView
import
com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import
com.yidianling.home.R
import
com.yidianling.home.constract.HomeViewConfig
import
com.yidianling.home.event.IHomeBaseEvent
...
...
@@ -56,6 +57,8 @@ class HomeArticleView(private val mContext: Context, private var homeEvent: IHom
}
}
}
// 文章阅读新增埋点
ActionCountUtils
.
record
(
"ydl_user_main_page"
,
"ydl_user_article_visit"
)
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment