直播间聊天复用
This commit is contained in:
parent
1b7296c13b
commit
f5bd17f832
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user