//Xamarin.Forms.ListViewDataSource
 public override void DraggingEnded(UIScrollView scrollView, bool willDecelerate)
 {
     //System.Diagnostics.Debug.WriteLine("ScrollDelegate DraggingEnded");
     //if (!willDecelerate)
     //{
     //    _scrolling = false;
     //    if (Element?.ItemsSource != null)
     //        Element?.OnScrolled(this, EventArgs.Empty);
     //}
     Source.DraggingEnded(scrollView, willDecelerate);
 }
Ejemplo n.º 2
0
 //Xamarin.Forms.ListViewDataSource
 public override void DraggingEnded(UIScrollView scrollView, bool willDecelerate)
 {
     //System.Diagnostics.Debug.WriteLine("ScrollDelegate.DraggingEnded: willDecelerate=[" + willDecelerate + "]");
     if (!willDecelerate)
     {
         _scrolling = false;
         if (Element?.ItemsSource != null)
         {
             Element?.OnScrolled(this, EventArgs.Empty);
         }
     }
     Source?.DraggingEnded(scrollView, willDecelerate);
 }
Ejemplo n.º 3
0
 public override void DraggingEnded(UIScrollView scrollView, bool willDecelerate)
 {
     _source.DraggingEnded(scrollView, willDecelerate);
 }