Example #1
0
 public override void OnViewRecycled(Java.Lang.Object holder)
 {
     base.OnViewRecycled(holder);
     ViewHolder mHolder = holder as ViewHolder;
 }
Example #2
0
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewItem)
        {
            ViewHolder viewHolder = ViewHolder.Get(mContext, parent, mLayoutId);

            return(viewHolder);
        }
Example #3
0
 public abstract void convert(ViewHolder holder, T t);
Example #4
0
        public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            ViewHolder mHolder = holder as ViewHolder;

            convert(mHolder, mDatas[position]);
        }