Merge remote-tracking branch 'origin/master'

This commit is contained in:
18401019693 2024-04-08 13:12:33 +08:00
commit 382c53ab1f
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ import androidx.fragment.app.FragmentTransaction;
import com.alibaba.android.arouter.facade.annotation.Route; import com.alibaba.android.arouter.facade.annotation.Route;
import com.lzf.easyfloat.EasyFloat; import com.lzf.easyfloat.EasyFloat;
import com.umeng.analytics.MobclickAgent;
import com.yunbao.common.activity.AbsActivity; import com.yunbao.common.activity.AbsActivity;
import com.yunbao.common.bean.AnchorStartLiveBean; import com.yunbao.common.bean.AnchorStartLiveBean;
import com.yunbao.common.manager.IMLoginManager; import com.yunbao.common.manager.IMLoginManager;
@ -54,6 +55,7 @@ public class MainHomeCommunityActivity extends AbsActivity {
} }
APPEasyFloat.getInstance().dismiss(mContext); APPEasyFloat.getInstance().dismiss(mContext);
MobclickAgent.onEvent(mContext, "short_drama_entrance", "短剧");
} }
@Override @Override

View File

@ -199,7 +199,6 @@ public class MainHomeCommunityViewHolder extends AbsMainHomeChildViewHolder impl
public void onClick(View v) { public void onClick(View v) {
if (viewPager != null) { if (viewPager != null) {
if (index == 1) { if (index == 1) {
MobclickAgent.onEvent(mContext, "short_drama_entrance", "短剧");
RouteUtil.forwardCommunityActivity(); RouteUtil.forwardCommunityActivity();
} else { } else {
viewPager.setCurrentItem(index); viewPager.setCurrentItem(index);