public override void OnBindViewHolder(RecyclerView.ViewHolder holder, int position)
        {
            SwipeActionViewHolder viewHolder = (SwipeActionViewHolder)holder;

            var item = _list[position];

            viewHolder.position.Text = item;

            viewHolder.swipeLayout.SwipedLeft  += SwipeRelativeLayout_SwipedLeft;
            viewHolder.swipeLayout.SwipedRight += SwipeRelativeLayout_SwipedRight;
        }
        public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
        {
            var view = (SwipeLayout)LayoutInflater.From(_context)
                       .Inflate(ZC.Xamarin.Android.SwipeAction.Resource.Layout.swipe_layout, parent, false);

            int wt = GetScreenWidth(_context);

            view.SetMinimumWidth(wt);

            var itemView = view.InflateSwipeItem(Resource.Layout.item_view);

            itemView.SetMinimumWidth(wt);

            var viewHolder = new SwipeActionViewHolder(view);

            for (var i = 0; i < viewHolder.swipe_content.ChildCount; i++)
            {
                viewHolder.swipe_content.GetChildAt(i).SetMinimumWidth(wt);
            }

            return(viewHolder);
        }