Merge remote-tracking branch 'origin/master'

This commit is contained in:
zlzw 2022-11-30 18:56:48 +08:00
commit cab59a5f4a

View File

@ -853,7 +853,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
layoutManager.setStackFromEnd(true); layoutManager.setStackFromEnd(true);
mChatRecyclerView.setLayoutManager(layoutManager); mChatRecyclerView.setLayoutManager(layoutManager);
mChatRecyclerView.addItemDecoration(new TopGradual()); mChatRecyclerView.addItemDecoration(new TopGradual());
mChatRecyclerView.setItemViewCacheSize(8); mChatRecyclerView.setItemViewCacheSize(10);
mLiveChatAdapter = new LiveChatAdapter(mContext); mLiveChatAdapter = new LiveChatAdapter(mContext);
mChatRecyclerView.setAdapter(mLiveChatAdapter); mChatRecyclerView.setAdapter(mLiveChatAdapter);
mLiveChatAdapter.setOnItemClickListener(new OnItemClickListener<LiveChatBean>() { mLiveChatAdapter.setOnItemClickListener(new OnItemClickListener<LiveChatBean>() {