add [新增短剧埋点]
This commit is contained in:
parent
88b96267ef
commit
09bef7afa6
@ -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
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user