public override void GetView(int postion, YearViewHolder holder, View view, Year item) { Color taskColor = ViewBuilder.ColorFromARGB(AppController.Colors.AshGray); holder.TitleLabel.Text = item.Name; holder.TitleLabel.SetTextColor(taskColor); }
public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { var itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.Card, parent, false); var vh = new YearViewHolder(itemView, OnClickObject, this); return(vh); }