public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position) { RecycleViewHolderInbox vh = holder as RecycleViewHolderInbox; vh.parentdeviceid.Text = recyclelist[position].getparentdeviceid(); vh.userid.Text = recyclelist[position].getuserid(); }
public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { View itemView = LayoutInflater.From(parent.Context). Inflate(Resource.Layout.listdevices, parent, false); RecycleViewHolderInbox vh = new RecycleViewHolderInbox(itemView, OnClick); return(vh); }