Exemplo n.º 1
0
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            View itemView = LayoutInflater.From(parent.Context).Inflate(Resource.Layout.Item_Service_CustomerComment_Customer, parent, false);
            Customer_Service_CustomerComment_ViewModel_ViewHolder vh = new Customer_Service_CustomerComment_ViewModel_ViewHolder(itemView, OnClick);

            return(vh);
        }
Exemplo n.º 2
0
        public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            Customer_Service_CustomerComment_ViewModel_ViewHolder vh = holder as Customer_Service_CustomerComment_ViewModel_ViewHolder;

            Picasso.Get().Load(mCustomerComment_List[position].Anh).Into(vh.Img);
            vh.Name.Text    = mCustomerComment_List[position].TenKH;
            vh.Comment.Text = mCustomerComment_List[position].comment;
            vh.Date.Text    = mCustomerComment_List[position].Ngay.ToString();
        }