This commit is contained in:
zlzw 2023-10-13 09:57:35 +08:00
parent fb5fc83727
commit abeb92ab51

View File

@ -39,12 +39,12 @@ public class HomeRecommendListAdapter extends RecyclerView.Adapter<HomeRecommend
@Override @Override
public void onBindViewHolder(@NonNull ViewHolder holder, int position) { public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
// holder.setData(list.get(position), position); holder.setData(list.get(position), position);
} }
@Override @Override
public int getItemCount() { public int getItemCount() {
return 10; return list.size();
} }
public void setList(List<HomeItemBean> data) { public void setList(List<HomeItemBean> data) {