Giter Club home page Giter Club logo

Comments (6)

huxq17 avatar huxq17 commented on August 24, 2024

目前recyclerview做不到,其他的默认就是这样

from xrefreshview.

act64 avatar act64 commented on August 24, 2024

这个高度能否自定义,问题可能描述的不是很清楚,不好意思.

我看您代码里面,只要view 到了底部,在滚动距离大于0,就会自动loadmore,这个滚动距离我想定制,但是代码里面没有开放public方法,不知道该怎么玩了?谢谢

from xrefreshview.

act64 avatar act64 commented on August 24, 2024

3.1.1有OFFSET_RADIO啊,点赞

from xrefreshview.

huxq17 avatar huxq17 commented on August 24, 2024

定制什么滚动距离?没怎么看懂,你看到的代码在哪?能贴出来么

from xrefreshview.

act64 avatar act64 commented on August 24, 2024

没事了,我把产品干掉了。。。。
不过能否设置一个 setMoveFootWhenDisablePullLoadMore(),就是在禁用 loadmore时,可选禁止上拉的阻尼效果

大概就是
private void updateFooterHeight(int deltaY) { if (mState != XRefreshViewState.STATE_READY && mEnablePullLoad && !autoLoadMore) { mFooterCallBack.onStateReady(); mState = XRefreshViewState.STATE_READY; } if (!(!mEnablePullLoad&&!mCanMoveFoot ) ){ moveView(deltaY); } }

from xrefreshview.

huxq17 avatar huxq17 commented on August 24, 2024

3.1.2已经有了setMoveFootWhenDisablePullLoadMore

from xrefreshview.

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.