From 09bef7afa6d238d0198bb9c7af89b084731fac5b Mon Sep 17 00:00:00 2001 From: hch <16607480311@163.com> Date: Mon, 8 Apr 2024 13:08:56 +0800 Subject: [PATCH] =?UTF-8?q?add=20[=E6=96=B0=E5=A2=9E=E7=9F=AD=E5=89=A7?= =?UTF-8?q?=E5=9F=8B=E7=82=B9]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/main/activity/MainHomeCommunityActivity.java | 2 ++ .../java/com/yunbao/main/views/MainHomeCommunityViewHolder.java | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/src/main/java/com/yunbao/main/activity/MainHomeCommunityActivity.java b/main/src/main/java/com/yunbao/main/activity/MainHomeCommunityActivity.java index 4820b1b65..3d39a2049 100644 --- a/main/src/main/java/com/yunbao/main/activity/MainHomeCommunityActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MainHomeCommunityActivity.java @@ -9,6 +9,7 @@ import androidx.fragment.app.FragmentTransaction; import com.alibaba.android.arouter.facade.annotation.Route; import com.lzf.easyfloat.EasyFloat; +import com.umeng.analytics.MobclickAgent; import com.yunbao.common.activity.AbsActivity; import com.yunbao.common.bean.AnchorStartLiveBean; import com.yunbao.common.manager.IMLoginManager; @@ -54,6 +55,7 @@ public class MainHomeCommunityActivity extends AbsActivity { } APPEasyFloat.getInstance().dismiss(mContext); + MobclickAgent.onEvent(mContext, "short_drama_entrance", "短剧"); } @Override diff --git a/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java index d2900c4c4..57db2d92b 100644 --- a/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java @@ -199,7 +199,6 @@ public class MainHomeCommunityViewHolder extends AbsMainHomeChildViewHolder impl public void onClick(View v) { if (viewPager != null) { if (index == 1) { - MobclickAgent.onEvent(mContext, "short_drama_entrance", "短剧"); RouteUtil.forwardCommunityActivity(); } else { viewPager.setCurrentItem(index);