public bool TouchStopped(MotionEvent motionEvent, PullToRefreshComponent pullToRefreshComponent) { if (pullToRefreshComponent.GetListTop() > PullToRefreshComponent.MinPullElementHeight) { pullToRefreshComponent.BeginPullDownRefresh(); } else { pullToRefreshComponent.RefreshFinished(pullToRefreshComponent.GetOnUpperRefreshAction()); } return(true); }
public bool TouchStopped(MotionEvent motionEvent, PullToRefreshComponent pullToRefreshComponent) { if (pullToRefreshComponent.GetListTop() > PullToRefreshComponent.MinPullElementHeight) { pullToRefreshComponent.BeginPullDownRefresh(); } else { pullToRefreshComponent.RefreshFinished(pullToRefreshComponent.GetOnUpperRefreshAction()); } return true; }
public bool TouchStopped(MotionEvent motionEvent, PullToRefreshComponent pullToRefreshComponent) { if (pullToRefreshComponent.GetBottomViewHeight() > PullToRefreshComponent.MinPullElementHeight) { pullToRefreshComponent.BeginPullUpRefresh(); } else { pullToRefreshComponent.RefreshFinished(pullToRefreshComponent .GetOnLowerRefreshAction()); } return true; }
public bool TouchStopped(MotionEvent motionEvent, PullToRefreshComponent pullToRefreshComponent) { if (pullToRefreshComponent.GetBottomViewHeight() > PullToRefreshComponent.MinPullElementHeight) { pullToRefreshComponent.BeginPullUpRefresh(); } else { pullToRefreshComponent.RefreshFinished(pullToRefreshComponent .GetOnLowerRefreshAction()); } return(true); }