public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { MainViewHolder mvh = holder as MainViewHolder; Bill b = bills[position]; mvh.Name.Text = b.name; }
public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View billView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.BillRow, parent, false); MainViewHolder vh = new MainViewHolder(billView); return(vh); }