埋点-短剧

This commit is contained in:
hch 2024-01-23 16:09:51 +08:00
parent 47077a465a
commit 0a70cc027f

View File

@ -42,6 +42,7 @@ import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.lxj.xpopup.XPopup;
import com.momo.mcamera.util.JsonUtil;
import com.umeng.analytics.MobclickAgent;
import com.yunbao.common.CommonAppConfig;
import com.yunbao.common.Constants;
import com.yunbao.common.HtmlConfig;
@ -198,6 +199,7 @@ 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);