public BaseViewHolder(View itemView) : base(itemView) { holder = this; mConvertView = itemView; mContext = mConvertView.Context; }
public BaseViewHolder(ViewGroup parent, int res) : base(LayoutInflater.From(parent.Context).Inflate(res, parent, false)) { holder = this; mConvertView = ItemView; mLayoutId = res; mContext = mConvertView.Context; }
public void OnBindViewHolder(BaseViewHolder <T> holder, int position) { holder.setData(getItem(position)); }