Exemplo n.º 1
0
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            View view = inflater.Inflate(itemLayoutId, parent, false);

            //view.Click += AdapterItemClick;
            return(BaseRecyclerHolder.GetRecyclerHolder(context, view, ItemClick));
        }
Exemplo n.º 2
0
        public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            BaseRecyclerHolder myHolder = holder as BaseRecyclerHolder;

            myHolder.ItemView.Tag = position;
            Convert(myHolder, list[position], position, isScrolling);
        }
Exemplo n.º 3
0
 public abstract void Convert(BaseRecyclerHolder holder, T item, int position, bool isScrolling);