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); }
public override void OnViewPositionChanged(View changedView, int left, int top, int dx, int dy) { mBehavior.dispatchOnSlide(top); }