TriggerBottomRefresh() public method

public TriggerBottomRefresh ( ) : void
return void
Esempio n. 1
0
            public override void DraggingEnded(UIScrollView scrollView, bool willDecelerate)
            {
                if (Container.topRefreshView != null)
                {
                    checkForRefresh = false;
                    if (Container.TableView.ContentOffset.Y < 0 && Container.TableView.ContentOffset.Y <= -yboundary)
                    {
                        Container.TriggerTopRefresh(true);
                    }
                }

                if (Container.bottomRefreshView != null)
                {
                    checkForRefresh = false;
                    if (-this.TableScrollOffset() > yboundary)
                    {
                        Container.TriggerBottomRefresh(true);
                    }
                }
            }