修改直播间聊天列表

This commit is contained in:
18401019693 2023-01-07 15:39:26 +08:00
parent 04496c3888
commit 36248eaeef

View File

@ -879,8 +879,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
mChatRecyclerView.setHasFixedSize(true);
LinearLayoutManager layoutManager = new LiveChatRecyclerViewLayoutManager(mContext);
layoutManager.setOrientation(RecyclerView.VERTICAL);
layoutManager.setReverseLayout(false);
layoutManager.setStackFromEnd(true);
// layoutManager.setReverseLayout(false);
// layoutManager.setStackFromEnd(true);
mChatRecyclerView.setLayoutManager(layoutManager);
mChatRecyclerView.addItemDecoration(new TopGradual());
mChatRecyclerView.setItemViewCacheSize(10);