public void OnSwipeProgressChanged(SwipeActionsBehavior.SwipeActionEvent swipeActionEvent)
        {
            if (swipeActionEvent.CurrentOffset() > this.leftWidth)
            {
                ViewGroup.LayoutParams lp = this.leftActionView.LayoutParameters;
                lp.Width = swipeActionEvent.CurrentOffset();
                this.leftActionView.LayoutParameters = lp;
            }

            if (swipeActionEvent.CurrentOffset() < -rightWidth)
            {
                ViewGroup.LayoutParams lp = this.rightActionView.LayoutParameters;
                lp.Width = -swipeActionEvent.CurrentOffset();
                this.rightActionView.LayoutParameters = lp;
            }
        }
        public void OnSwipeProgressChanged(SwipeActionsBehavior.SwipeActionEvent swipeActionEvent)
        {
            if (swipeActionEvent.CurrentOffset() > leftWidth)
            {
                ViewGroup.LayoutParams lp = this.leftActionView.LayoutParameters;
                lp.Width = swipeActionEvent.CurrentOffset();
                this.leftActionView.LayoutParameters = lp;
            }

            if (swipeActionEvent.CurrentOffset() < -rightWidth)
            {
                ViewGroup.LayoutParams lp = this.rightActionView.LayoutParameters;
                lp.Width = -swipeActionEvent.CurrentOffset();
                this.rightActionView.LayoutParameters = lp;
            }

            if (!this.animationApplied)
            {
                if (Math.Abs(swipeActionEvent.CurrentOffset()) > Math.Abs(leftWidth) * 1.5f)
                {
                    if (swipeActionEvent.CurrentOffset() < 0)
                    {
                        this.rightActionView.GetChildAt(0).ClearAnimation();
                        RotateAnimation ra = new RotateAnimation(0, 360, 0.5f, 0.5f);
                        ra.Interpolator = new AccelerateDecelerateInterpolator();
                        ra.Duration     = 200;
                        this.rightActionView.GetChildAt(0).StartAnimation(ra);
                    }
                    else if (swipeActionEvent.CurrentOffset() > 0)
                    {
                        this.leftActionView.GetChildAt(0).ClearAnimation();
                        RotateAnimation ra = new RotateAnimation(0, 360, 0.5f, 0.5f);
                        ra.Interpolator = new AccelerateDecelerateInterpolator();
                        ra.Duration     = 200;
                        this.leftActionView.GetChildAt(0).StartAnimation(ra);
                    }
                    this.animationApplied = true;
                }
            }
        }