Ejemplo n.º 1
0
            public override void OnViewPositionChanged(View changedView, int left, int top, int dx, int dy)
            {
                var height  = changedView.Height;
                var percent = ((double)(height - top)).SafeDivideByZero(height);

                mBehavior.DragChanged?.Invoke((float)percent);
                Debug.WriteLine(percent);
                mBehavior.dispatchOnSlide(top);
            }
Ejemplo n.º 2
0
 public override void OnViewPositionChanged(View changedView, int left, int top, int dx, int dy)
 {
     mBehavior.dispatchOnSlide(top);
 }