예제 #1
0
        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();
        }
예제 #2
0
        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);
        }