public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.basket_row, parent, false); ProductBasketViewHolder vh = new ProductBasketViewHolder(itemView);//, OnClick); return(vh); }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { ProductBasketViewHolder vh = holder as ProductBasketViewHolder; var Product = rows[position]; vh.ProductDescriptionTextView.Text = Product.Name; vh.TotalProductTextView.Text = "$3333.33"; vh.QuantityTextView.Text = "1"; }