public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.HoraERow, parent, false); HoraERowViewHolder vh = new HoraERowViewHolder(itemView, OnClick); return(vh); }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { HoraERowViewHolder vh = holder as HoraERowViewHolder; vh.DayName.Text = horae[position].DayName; vh.DayTimeS.Text = horae[position].DayTimeS; vh.DayTimeE.Text = horae[position].DayTimeE; }