From f5bd17f8329092f5e2e310ceb99fa034a691f633 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 30 Nov 2022 10:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E9=97=B4=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E5=A4=8D=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java b/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java index 657cdec6d..0f1d43d2c 100644 --- a/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java +++ b/live/src/main/java/com/yunbao/live/adapter/LiveChatAdapter.java @@ -106,6 +106,7 @@ public class LiveChatAdapter extends RecyclerView.Adapter { @Override public void onBindViewHolder(@NonNull RecyclerView.ViewHolder vh, int position) { if (vh instanceof Vh) { + vh.setIsRecyclable(false); ((Vh) vh).setData(mList.get(position), position); } else if (vh instanceof RedPackVh) { ((RedPackVh) vh).setData(mList.get(position));