|
@@ -107,8 +107,8 @@ public class MineLiveCourseFragment extends BaseMVPFragment<FragmentMineLiveCour
|
|
|
mViewBinding.tvOpen.setOnClickListener(this);
|
|
|
mineLiveCourseAdapter.setOnItemClickListener((adapter, view, position) -> {
|
|
|
MineLiveCourseListBean.RowsBean item = (MineLiveCourseListBean.RowsBean) adapter.getItem(position);
|
|
|
- if (TextUtils.equals(type, "CANCEL") || TextUtils.equals(type, "OUT_SALE")) {
|
|
|
- //已取消或者已下架 点击跳转编辑页面
|
|
|
+ if (TextUtils.equals(type, "OUT_SALE")) {
|
|
|
+ //已下架 点击跳转编辑页面
|
|
|
ARouter.getInstance()
|
|
|
.build(RouterPath.WebCenter.ACTIVITY_HTML)
|
|
|
.withString(WebConstants.WEB_URL, String.format(WebConstants.TEACHER_LIVE_EDIT, item.courseGroupId))
|