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
392d23b1
Commit
392d23b1
authored
Jun 21, 2022
by
fengquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 倾诉列表搜索添加埋点
parent
0f18b65c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
ConfideSearchActivity.kt
m-confide/src/main/java/com/ydl/confide/home/ConfideSearchActivity.kt
+3
-0
No files found.
m-confide/src/main/java/com/ydl/confide/home/ConfideSearchActivity.kt
View file @
392d23b1
...
...
@@ -13,6 +13,7 @@ import android.widget.TextView
import
com.ydl.confide.R
import
com.ydl.confide.home.constants.FinalString
import
com.ydl.ydlcommon.base.BaseActivity
import
com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import
kotlinx.android.synthetic.main.confide_search_activity.*
...
...
@@ -30,6 +31,8 @@ class ConfideSearchActivity : BaseActivity() {
etSearch
.
setOnEditorActionListener
{
_
,
actionId
,
_
->
if
(
actionId
==
EditorInfo
.
IME_ACTION_SEARCH
)
{
val
keyword
=
etSearch
!!
.
text
.
trim
().
toString
()
//埋点
ActionCountUtils
.
record
(
"listen_counselor_list_page"
,
"listen_counselor_list_search_click"
,
keyword
)
val
intent
=
Intent
()
intent
.
putExtra
(
FinalString
.
CONFIDE_SEARCH_KEY_WORD
,
keyword
)
setResult
(
RESULT_OK
,
intent
)
...
...
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