Merge branch 'fix/GHZS-2717' into 'dev'
fix: 搭建评论数据面板—0615测试(修复部分上报位置遗漏问题) https://jira.shanqu.cc/browse/GHZS-2717 See merge request halo/android/assistant-android!1140
This commit is contained in:
@ -478,8 +478,7 @@ class RatingAdapter(
|
||||
|
||||
val exposureSource = arrayListOf(
|
||||
ExposureSource("游戏详情"),
|
||||
ExposureSource("详情tab"),
|
||||
ExposureSource("玩家评价"),
|
||||
ExposureSource("评价tab"),
|
||||
).toJson()
|
||||
|
||||
val intent = RatingReplyActivity.getIntent(
|
||||
|
||||
@ -456,6 +456,7 @@ class RatingReplyActivity : ListActivity<RatingReplyEntity, RatingReplyViewModel
|
||||
gameId: String,
|
||||
commentId: String,
|
||||
topCommentId: String,
|
||||
exposureSource: ExposureSource,
|
||||
entrance: String,
|
||||
path: String
|
||||
): Intent {
|
||||
@ -464,6 +465,7 @@ class RatingReplyActivity : ListActivity<RatingReplyEntity, RatingReplyViewModel
|
||||
gameId = gameId,
|
||||
commentId = commentId,
|
||||
topCommentId = topCommentId,
|
||||
exposureSource = arrayListOf(exposureSource).toJson(),
|
||||
showKeyboardIfReplyListIsEmpty = false,
|
||||
entrance = entrance,
|
||||
path = path
|
||||
|
||||
@ -20,6 +20,7 @@ import com.gh.gamecenter.common.constant.ItemViewType
|
||||
import com.gh.gamecenter.common.utils.dip2px
|
||||
import com.gh.gamecenter.common.utils.safelyGetInRelease
|
||||
import com.gh.gamecenter.common.utils.toBinding
|
||||
import com.gh.gamecenter.common.utils.toJson
|
||||
import com.gh.gamecenter.common.viewholder.FooterViewHolder
|
||||
import com.gh.gamecenter.core.runOnIoThread
|
||||
import com.gh.gamecenter.entity.AmwayCommentEntity
|
||||
@ -294,11 +295,13 @@ class HomeFragmentAdapter(
|
||||
val path = "(首页安利墙)"
|
||||
when (v.id) {
|
||||
R.id.rating_block -> {
|
||||
val exposureSource = arrayListOf(ExposureSource("新首页"), ExposureSource("安利墙")).toJson()
|
||||
val intent = RatingReplyActivity.getIntent(
|
||||
context = mContext,
|
||||
gameId = amway.game.id,
|
||||
commentId = amway.comment.id,
|
||||
showKeyboardIfReplyListIsEmpty = false,
|
||||
exposureSource = exposureSource,
|
||||
entrance = path,
|
||||
path = ""
|
||||
)
|
||||
|
||||
@ -37,6 +37,7 @@ import com.gh.gamecenter.common.entity.CommunityEntity;
|
||||
import com.gh.gamecenter.entity.MessageEntity;
|
||||
import com.gh.gamecenter.entity.MessageFold;
|
||||
import com.gh.gamecenter.feature.entity.UserEntity;
|
||||
import com.gh.gamecenter.feature.exposure.ExposureSource;
|
||||
import com.gh.gamecenter.gamecollection.detail.GameCollectionDetailActivity;
|
||||
import com.gh.gamecenter.gamedetail.rating.RatingReplyActivity;
|
||||
import com.gh.gamecenter.login.user.UserManager;
|
||||
@ -857,6 +858,7 @@ public class MessageItemViewHolder extends BaseRecyclerViewHolder<MessageEntity>
|
||||
entity.getGame().getId(),
|
||||
entity.getReply().getCommentId(),
|
||||
entity.getReply().getId(),
|
||||
new ExposureSource("消息中心", ""),
|
||||
entrance,
|
||||
path
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user