1.签约抱麦添加拒绝逻辑。
2.爵位不返回userInfo 逻辑容错。 3.礼物动画优化。
This commit is contained in:
@@ -85,7 +85,7 @@ public class QXGiftPlayerManager {
|
||||
roomCPView.setLayoutParams(new ViewGroup.LayoutParams(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT,
|
||||
ViewGroup.LayoutParams.MATCH_PARENT
|
||||
));
|
||||
));
|
||||
// 创建专用线程池替代GCD队列
|
||||
ExecutorService queue = new ThreadPoolExecutor(1, 1, 0L, TimeUnit.MILLISECONDS,
|
||||
new LinkedBlockingQueue<Runnable>(),
|
||||
@@ -153,10 +153,13 @@ public class QXGiftPlayerManager {
|
||||
}
|
||||
chatEffectView = null;
|
||||
}
|
||||
|
||||
|
||||
if (roomCPView != null) {
|
||||
// 先调用destroyEffectView方法,它会自动从父视图中移除
|
||||
roomCPView.destroyEffectView();
|
||||
if (bgEffectView != null) {
|
||||
((ViewGroup) bgEffectView).removeView(roomCPView);
|
||||
}
|
||||
roomCPView = null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user