Ejemplo n.º 1
0
        public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            MainViewHolder mvh = holder as MainViewHolder;
            Bill           b   = bills[position];

            mvh.Name.Text = b.name;
        }
Ejemplo n.º 2
0
        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);
        }