From f4adc9ca6c183e855e7a66009bed0f5262dd0eab Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Fri, 25 Oct 2024 15:44:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=9A=84ui=E5=8F=8A=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E8=A7=A3=E5=AF=86=E5=AE=8C=E6=88=90=20=E5=8F=8A=E8=A7=A3?= =?UTF-8?q?=E5=AF=86=20Tag=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/live/dialog/LiveMicAnchorDialogFragment.java | 3 ++- .../java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java | 3 ++- .../com/yunbao/live/dialog/LiveUserMoreDialogFragment.java | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveMicAnchorDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveMicAnchorDialogFragment.java index a136fce20..843ae3a74 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveMicAnchorDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveMicAnchorDialogFragment.java @@ -27,6 +27,7 @@ import com.yunbao.common.custom.CommonRefreshView; import com.yunbao.common.dialog.AbsDialogFragment; import com.yunbao.common.http.API; import com.yunbao.common.http.HttpCallback; +import com.yunbao.common.http.LiveHttpConsts; import com.yunbao.common.http.LiveHttpUtil; import com.yunbao.common.http.ResponseModel; import com.yunbao.common.manager.MicUserManager; @@ -371,7 +372,7 @@ public class LiveMicAnchorDialogFragment extends AbsDialogFragment implements Vi @Override public void onDestroy() { - LiveHttpUtil.cancel("getUserLists"); + LiveHttpUtil.cancel(LiveHttpConsts.GET_USER_LIST); super.onDestroy(); } diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java index 4507ceb98..bdb1b066b 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveMicUserDialogFragment.java @@ -25,6 +25,7 @@ import com.yunbao.common.custom.CommonRefreshView; import com.yunbao.common.dialog.AbsDialogFragment; import com.yunbao.common.http.HttpCallback; import com.yunbao.common.http.HttpClient; +import com.yunbao.common.http.LiveHttpConsts; import com.yunbao.common.manager.imrongcloud.RongcloudIMManager; import com.yunbao.common.utils.DialogUitl; import com.yunbao.common.utils.DpUtil; @@ -407,7 +408,7 @@ public class LiveMicUserDialogFragment extends AbsDialogFragment implements View @Override public void onDestroy() { mLiveGuardInfo = null; - LiveHttpUtil.cancel("getUserLists"); + LiveHttpUtil.cancel(LiveHttpConsts.GET_USER_LIST); super.onDestroy(); } diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java index cc589f42e..9e1ff9c2c 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java @@ -33,6 +33,7 @@ import com.yunbao.common.custom.CommonRefreshView; import com.yunbao.common.dialog.AbsDialogFragment; import com.yunbao.common.http.API; import com.yunbao.common.http.HttpCallback; +import com.yunbao.common.http.LiveHttpConsts; import com.yunbao.common.utils.DpUtil; import com.yunbao.live.R; import com.yunbao.live.activity.LiveActivity; @@ -357,7 +358,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie @Override public void onDestroy() { mLiveGuardInfo = null; - LiveHttpUtil.cancel("getUserLists"); + LiveHttpUtil.cancel(LiveHttpConsts.GET_USER_LIST); super.onDestroy(); }