fix 修复礼物墙测试问题

This commit is contained in:
2024-07-18 16:39:06 +08:00
parent d3055d8fb2
commit 048c66736f
11 changed files with 49 additions and 23 deletions

View File

@@ -184,6 +184,7 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder {
}
public void initSwEngine(String liveUid) {
dr_pk_view.setVisibility(View.GONE);
this.liveUid = liveUid;
//初始化声网SDK
swAuManager = SWAuManager.get();
@@ -630,7 +631,7 @@ public class LivePlaySwViewHolder extends LiveRoomPlayViewHolder {
mEnd = true;
mStarted = false;
Bus.getOff(this);
if(ry_view!=null){
if (ry_view != null) {
ry_view.removeAllViews();
}
//swAuManager.release();

View File

@@ -44,7 +44,8 @@
android:layout_height="270dp"
android:layout_marginTop="130dp"
android:orientation="horizontal"
android:visibility="gone">
android:visibility="gone"
tools:visibility="visible">
<LinearLayout
android:layout_width="match_parent"