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