public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.MesRow, parent, false); MesRowViewHolder vh = new MesRowViewHolder(itemView, OnClick); return(vh); }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { MesRowViewHolder vh = holder as MesRowViewHolder; vh.TableDesc.Text = mList[position].TableDesc; vh.NumOfPer.Text = mList[position].NumOfPer; vh.NumOfTab.Text = mList[position].NumOfTab; }