//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); }
//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); }
public override void DraggingEnded(UIScrollView scrollView, bool willDecelerate) { _source.DraggingEnded(scrollView, willDecelerate); }