1:修改排行榜页面,
2:修改拍卖房刷新数据 3:修改交友房刷新数据
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.xscm.moduleutil.utils.config;
|
||||
|
||||
public enum EnvironmentEnum {
|
||||
// "https://vespa.qxyushen.top/",
|
||||
PRODUCTION(//生产环境
|
||||
"https://vespa.qxyushen.top/",
|
||||
"KvNmqZc+VMzO4CfGMd5zmG6w6OFwpFO/19TwXUWfHDOBgmnl9DgIuE+kbrjNNnxqhtP3pH7bBrnSaSeFtunr72q6sgpLsfuswcUroMvz2slaTBcNzCaLi+GSnM3gB/GdO47mwLdk+iYBTvPUOCIuT608Z29z09w+vPeUDoMCHJBGXu6uh7Nj6PtV1dfGoUvByk1ZF0WYVjIqKDcb3tXY4jonFh3XAWhzMy8xKwN6F2nuK2IcdIwaSPsvuMZmhatP6f9kOE+vnfweyCHS3RxiG474WIoZGJM8omrl3/pOVqE=",
|
||||
|
||||
@@ -118,6 +118,8 @@ public class GiftDisplayManager {
|
||||
|
||||
// 处理队列
|
||||
processGiftQueue();
|
||||
// 确保每次接收礼物后都处理队列
|
||||
mainHandler.postDelayed(this::processGiftQueue, 50);
|
||||
}
|
||||
|
||||
private GiftDisplayView findDisplayingViewForGift(GiftBean gift) {
|
||||
@@ -141,11 +143,12 @@ public class GiftDisplayManager {
|
||||
|
||||
private void processGiftQueue() {
|
||||
if (isProcessingQueue) {
|
||||
Log.d("GiftDisplayManager", "Already processing queue, skip");
|
||||
return;
|
||||
}
|
||||
|
||||
isProcessingQueue = true;
|
||||
|
||||
Log.d("GiftDisplayManager", "Start processing queue, size: " + giftQueue.size());
|
||||
// 循环处理队列直到队列为空或没有可用视图
|
||||
while (!giftQueue.isEmpty()) {
|
||||
GiftDisplayView availableView = findAvailableDisplayView();
|
||||
@@ -195,7 +198,8 @@ public class GiftDisplayManager {
|
||||
}
|
||||
|
||||
// 延迟一下再处理队列,确保视图状态完全重置
|
||||
mainHandler.postDelayed(this::processGiftQueue, 100);
|
||||
// 立即处理队列,而不是延迟
|
||||
mainHandler.post(this::processGiftQueue);
|
||||
}
|
||||
|
||||
public void clearAll() {
|
||||
|
||||
Reference in New Issue
Block a user