recycleview适配器

来源:互联网 发布:德国交通软件 编辑:程序博客网 时间:2024/06/03 17:09
View view = LayoutInflater.from(context).inflate(R.layout.xinwen_item, parent, false);ViewHolder viewHolder = new ViewHolder(view);
return viewHolder;

Picasso.with(contex

t).load(interactive.get(position).getImage()).into(holder.iv);

holder.order_tv.setText(interactive.get(position).getOrder());holder.title_tv.setText(interactive.get(position).getTitle());

原创粉丝点击