Example #1
0
        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);
        }
Example #2
0
        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;
        }