public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.PublicationCardView, parent, false); PublicationViewHolder vh = new PublicationViewHolder(itemView); return(vh); }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { PublicationViewHolder vh = holder as PublicationViewHolder; vh.content.Text = mPublicationContainer[position].Content; }