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
public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
// holder.setData(list.get(position), position);
holder.setData(list.get(position), position);
}
@Override
public int getItemCount() {
return 10;
return list.size();
}
public void setList(List<HomeItemBean> data) {