写个绑定ButterKnife的BaseAdapter基类
抽取baseAdapter基类 构造方法 public BaseAdapter(Context context, @LayoutRes int layout , List<T> List){ mContext=context; mList = List; mLayout = layout; notifyDataSetChanged(); } layout xml视图 list后台接口数据, 成员变量 private Context mContext; private List<T> mList; private ViewHolder viewHolder; private @LayoutRes int mLayout; getView @Override public View getView(int i, View view, ViewGroup viewGroup) { ViewHolder viewHolder = null; if (view == null) { view = View.inflate(mContext, mLayout, null); viewHolder = getViewHolder(); viewHolder.ViewHolder(view); view.setTag(viewHolder); } else { viewHolder =