public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.adapter_SyncData_row, parent, false); DataViewHolder vh = new DataViewHolder(itemView); return(vh); }
public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { DataViewHolder vh = holder as DataViewHolder; vh.Naziv.Text = mData[position].Naziv; vh.PrimljeniPodatci.Text = mData[position].Primljeno.ToString(); vh.PoslaniPodatci.Text = mData[position].Poslano.ToString(); }