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 @@