OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { RecyclerView_Resources.GoalViewHolder vh = holder as RecyclerView_Resources.GoalViewHolder; vh.GoalTaskName.Text = mGoalAlbum[position].TaskName; vh.GoalDescription.Text = "This is a placeholder for the description."; vh.GoalPoints.Text = "100"; }
OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.Goal_CardView, parent, false); RecyclerView_Resources.GoalViewHolder vh = new RecyclerView_Resources.GoalViewHolder(itemView); return(vh); }