修复直播聊天室还是会卡不会自动滚动问题

This commit is contained in:
zlzw 2022-12-27 13:52:01 +08:00
parent c8ba78f39b
commit 339d460c0f

View File

@ -398,7 +398,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter {
if (bean == null) { if (bean == null) {
return; return;
} }
// Log.i(TAG, "insertItem: " + bean.getContent()); // Log.i(TAG, "insertItem: " + bean.getContent()+" size = "+(mList.size()+1));
int size = mList.size(); int size = mList.size();
//设置最大展示99条消息 //设置最大展示99条消息
if (size == 100) { if (size == 100) {