Merge branch 'dev' into dev-5.33.0-merged-dev
# Conflicts: # app/src/main/java/com/gh/gamecenter/forum/search/CommunitySearchEventListener.kt # app/src/main/java/com/gh/gamecenter/forum/search/ForumContentSearchListAdapter.kt # app/src/main/java/com/gh/gamecenter/forum/search/ForumContentSearchListFragment.kt
This commit is contained in:
@ -149,7 +149,7 @@ oss-upload&send-email:
|
||||
### 开启上传 ###
|
||||
- /usr/local/bin/python /upload.py
|
||||
### 发送邮件
|
||||
- /usr/local/bin/python /ci-android-mail.py
|
||||
- /usr/local/bin/python /ci-android-mail-jira-comment.py
|
||||
only:
|
||||
- dev
|
||||
- dev-5.33.0
|
||||
@ -10,9 +10,6 @@ interface CommunitySearchEventListener {
|
||||
|
||||
fun onItemExposed(contentId: String?, itemType: String?, title: String?, sequence: Int)
|
||||
|
||||
// 在论坛搜索点击论坛item,进入论坛详情
|
||||
fun onBbsItemClick(sequence: Int, bbsId: String, name: String, button: String)
|
||||
|
||||
companion object {
|
||||
|
||||
const val SEARCH_BUTTON_FOLLOW = "关注用户"
|
||||
|
||||
@ -292,11 +292,11 @@ class ForumContentSearchListAdapter(
|
||||
val answerViewHolder = ForumArticleAskItemViewHolder(includedAnswerItem)
|
||||
answerViewHolder.bindForumAnswerItem(answer, mEntrance, "", position)
|
||||
answerViewHolder.itemView.setOnClickListener {
|
||||
eventListener.onBbsItemClick(
|
||||
position,
|
||||
answer.questions.id,
|
||||
eventListener.onItemClick(
|
||||
answer.id,
|
||||
answer.type,
|
||||
htmlToString(answer.questions.title),
|
||||
BUTTON_VIEW_FORUM_DETAIL
|
||||
position
|
||||
)
|
||||
mContext.startActivity(
|
||||
ForumVideoDetailActivity.getIntent(
|
||||
@ -424,11 +424,11 @@ class ForumContentSearchListAdapter(
|
||||
)
|
||||
}
|
||||
}
|
||||
eventListener.onBbsItemClick(
|
||||
position,
|
||||
answer.questions.id,
|
||||
eventListener.onItemClick(
|
||||
answer.id,
|
||||
answer.type,
|
||||
htmlToString(answer.questions.title),
|
||||
BUTTON_VIEW_FORUM_DETAIL
|
||||
position
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@ -172,15 +172,4 @@ class ForumContentSearchListFragment : LazyListFragment<AnswerEntity, ForumConte
|
||||
sequence + 1
|
||||
)
|
||||
}
|
||||
|
||||
override fun onBbsItemClick(sequence: Int, bbsId: String, name: String, button: String) {
|
||||
NewFlatLogUtils.logSearchBbsClick(
|
||||
SearchType.fromString(mSearchType).toChinese(),
|
||||
mSearchKey,
|
||||
bbsId,
|
||||
sequence + 1,
|
||||
name,
|
||||
button
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user