Git Product home page Git Product logo

Comments (3)

pujiaxin33 avatar pujiaxin33 commented on May 25, 2024

请问你用的是JXPagerListRefreshView吗?

from jxpagingview.

BinBear avatar BinBear commented on May 25, 2024

@pujiaxin33 我使用JXPagerListRefreshView添加上下拉刷新了,出现了另外一个问题,往上滑的时候,滑动一点点categoryView就直接到顶部了,有的时候categoryView直接就不动了,列表却往上滑了,跟我隐藏导航栏有关,因为用了作者隐藏导航栏的方式,希望能兼容一下隐藏导航栏和列表刷新

from jxpagingview.

pujiaxin33 avatar pujiaxin33 commented on May 25, 2024

你在NaviBarHiddenViewController类添加一个方法:

- (JXPagerView *)preferredPagingView {
    return [[JXPagerListRefreshView alloc] initWithDelegate:self];
}

然后再viewDidLoaded里面添加

for (TestListBaseView *listView in self.listViewArray) {
        listView.isNeedHeader = YES;
    }

就可以有导航栏隐藏和下拉刷新了

from jxpagingview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.