zoukankan      html  css  js  c++  java
  • end draging,

    -(void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate

    {

        

        if (scrollView.contentOffset.y <= - 60 && tableViewResource == 2 && !loading) {

            [selfloadInteractData];

        }

        

        if ([self endOfTableView:scrollView] <= -65.0f && !_loading)

        {

            if (scrollView.contentOffset.y > 60) {

                if (districtButtonTag == 210) {

                    if (worksHasMore) {

                        worksPageIndex = worksPageIndex + 1;

                        [self loadWorksData];

                    }

                }else{

                    if (ringHasMore) {

                        ringPageIndex = ringPageIndex + 1;

                        [self loadRingData];

                    }

                    

                }

                

            }

     

        }

        

       //    if (scrollView.contentOffset.y <= - 60 && tableViewResource == 0 && !loading) {//作品信息没有必要刷新的

    //        if (districtButtonTag == 210) {

    //            [self loadWorksData:1];

    //        }else{

    //            [self loadRingData:1];

    //

    //        }

    //    }

    }

  • 相关阅读:
    RDD的基本命令
    python 数据类型
    RDD基础
    sql优化
    python文件操作
    Python之xlsx文件与csv文件相互转换
    ValueError: Some of types cannot be determined by the first 100 rows, please try again with sampling
    python
    python操作dataFrame
    python 列表,元祖,字典
  • 原文地址:https://www.cnblogs.com/guligei/p/3270706.html
Copyright © 2011-2022 走看看