update
This commit is contained in:
parent
fb5fc83727
commit
abeb92ab51
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user