From a8178c51a052946f756e6cb7a33c8db5b2b9c5e2 Mon Sep 17 00:00:00 2001
From: zlzw <583819556@qq.com>
Date: Sat, 8 Apr 2023 14:57:22 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=9B=B4=E6=92=AD=E9=97=B4UI?=
=?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E8=BF=9B=E5=85=A5=E7=9B=B4=E6=92=AD?=
=?UTF-8?q?=E9=97=B4=E5=BF=AB=E9=80=9F=E9=80=80=E5=87=BA=E5=AF=BC=E8=87=B4?=
=?UTF-8?q?=E7=9A=84=E9=97=AA=E9=80=80=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/yunbao/live/views/LiveRoomViewHolder.java | 2 +-
.../com/yunbao/live/views/PortraitLiveManager.java | 14 ++++++++++----
.../main/res/layout/sim_live_room_anchor_say.xml | 4 ++--
live/src/main/res/layout/view_live_audience.xml | 4 ++--
live/src/main/res/layout/view_live_room.xml | 13 ++++++-------
.../res/layout/view_live_top_banner_call_me.xml | 14 +++++---------
.../main/res/layout/view_live_top_banner_wish.xml | 4 ++--
7 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java
index 2771f691b..cc6c52fc1 100644
--- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java
+++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java
@@ -1449,7 +1449,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
public void onAnimationEnd(Animation animation) {
if (hide) {
mAnchorSayImage.setTag(mAnchorSay.getX());
- mAnchorSay.setX(-DpUtil.dp2px(45));
+ mAnchorSay.setX(-DpUtil.dp2px(53));
mAnchorSayImage.setVisibility(View.INVISIBLE);
mAnchorSayText.setVisibility(View.INVISIBLE);
mAnchorSayHide.setImageResource(R.mipmap.ic_live_anchor_say_hide);
diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java
index 60f7c90fb..ebd5a1044 100644
--- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java
+++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java
@@ -254,7 +254,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
loading.setVisibility(View.GONE);
enterRoomLeaveHandler.post(enterRoomLeaveRunnable);
if (topBannerRunnable != null) {
- topBannerHandler.postDelayed(topBannerRunnable, 6000);
+ topBannerHandler.postDelayed(topBannerRunnable, 1000);
}
}
};
@@ -417,7 +417,12 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
}
mLivePlayViewHolder.setAnchorPlayModel(anchorClarityType);
//是否热度卡加成
- liveHandler.postDelayed(() -> mLiveRoomViewHolder.getIsHot(data.getIsUseHotCard()), 700);
+ liveHandler.postDelayed(() -> {
+ if(mLiveRoomViewHolder==null){
+ return;
+ }
+ mLiveRoomViewHolder.getIsHot(data.getIsUseHotCard());
+ }, 700);
//延时1秒发送
liveHandler.postDelayed(sendFIm, 700);
@@ -1945,11 +1950,12 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
}
}
- public void wishListProgress(WishModel wishListProgress, String userNiceName,int level) {
+ public void wishListProgress(WishModel wishListProgress, String userNiceName, int level) {
if (mLiveRoomViewHolder != null) {
- mLiveRoomViewHolder.wishListProgress(wishListProgress, userNiceName,level);
+ mLiveRoomViewHolder.wishListProgress(wishListProgress, userNiceName, level);
}
}
+
public void showXydComplete(XydCompleteModel model) {
if (mLiveRoomViewHolder != null) {
mLiveRoomViewHolder.showXydComplete(model);
diff --git a/live/src/main/res/layout/sim_live_room_anchor_say.xml b/live/src/main/res/layout/sim_live_room_anchor_say.xml
index 57aca08c6..efb47c6f6 100644
--- a/live/src/main/res/layout/sim_live_room_anchor_say.xml
+++ b/live/src/main/res/layout/sim_live_room_anchor_say.xml
@@ -41,8 +41,8 @@
diff --git a/live/src/main/res/layout/view_live_audience.xml b/live/src/main/res/layout/view_live_audience.xml
index e4267d176..c178ed41e 100644
--- a/live/src/main/res/layout/view_live_audience.xml
+++ b/live/src/main/res/layout/view_live_audience.xml
@@ -315,8 +315,8 @@
+ android:visibility="visible" />
diff --git a/live/src/main/res/layout/view_live_top_banner_wish.xml b/live/src/main/res/layout/view_live_top_banner_wish.xml
index 01e7b3e51..5687723ff 100644
--- a/live/src/main/res/layout/view_live_top_banner_wish.xml
+++ b/live/src/main/res/layout/view_live_top_banner_wish.xml
@@ -6,7 +6,7 @@