예제 #1
0
            public override void DraggingEnded(UIScrollView scrollView, bool willDecelerate)
            {
                if (Container.refreshView == null)
                {
                    return;
                }

                checkForRefresh = false;
                if (Container.TableView.ContentOffset.Y > -yboundary)
                {
                    return;
                }
                Container.TriggerRefresh(true);
            }
 public override void DraggingEnded(UIScrollView scrollView, bool willDecelerate)
 {
     checkForRefresh = false;
     if (Container.refreshView != null && (Container.TableView.ContentOffset.Y < -yboundary))
     {
         Container.TriggerRefresh(true);
     }
     if ((Container.loadMoreView != null) &&
         (Container.TableView.ContentOffset.Y + Container.TableView.Bounds.Height > Container.TableView.ContentSize.Height + yboundary) &&
         !Container.loadMoreView.Hidden)
     {
         Container.TriggerLoadMore(true);
     }
 }