Esempio n. 1
0
 public BaseViewHolder(View itemView)
     : base(itemView)
 {
     holder       = this;
     mConvertView = itemView;
     mContext     = mConvertView.Context;
 }
Esempio n. 2
0
 public BaseViewHolder(ViewGroup parent, int res)
     : base(LayoutInflater.From(parent.Context).Inflate(res, parent, false))
 {
     holder       = this;
     mConvertView = ItemView;
     mLayoutId    = res;
     mContext     = mConvertView.Context;
 }
 public void OnBindViewHolder(BaseViewHolder <T> holder, int position)
 {
     holder.setData(getItem(position));
 }