Ejemplo n.º 1
0
        OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            View itemView = LayoutInflater.From(parent.Context).
                            Inflate(Resource.Layout.ItemCardView, parent, false);
            ItemListHolder vh = new ItemListHolder(itemView, OnClick);

            return(vh);
        }
Ejemplo n.º 2
0
        OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            ItemListHolder vh = holder as ItemListHolder;

            vh.Title.Text = mItemList2[position].title;
            // vh.Description.Text = mItemList2[position].description;
            vh.Attendees.Text = mItemList2[position].attendees + " people going";
            vh.Date.Text      = mItemList2[position].date;
            vh.Time.Text      = mItemList2[position].time;
            vh.Venue.Text     = mItemList2[position].venue;
        }