Example #1
0
 protected virtual void Scroll(float offset)
 {
     if (OnSwipe != null)
     {
         OnSwipe.Execute();
     }
 }
Example #2
0
 private void BehavourOnIndexChanged()
 {
     if (OnSwipe != null)
     {
         OnSwipe.Execute();
     }
 }
Example #3
0
 private void HandleIndexChanged()
 {
     if (OnSwipe != null)
     {
         OnSwipe.Execute();
     }
 }
Example #4
0
        void HandleDraggingEnded(bool willDecelerate)
        {
            if (_view != null)
            {
                if (_startX != _view.ContentOffset.X || _startY != _view.ContentOffset.Y)
                {
                    OnScrollEnded(_startX, _startY);

                    if (OnSwipe != null)
                    {
                        OnSwipe.Execute();
                    }
                }
            }
        }