GithubHelp home page GithubHelp logo

刷新完成的问题 about easyrefreshlayout HOT 4 CLOSED

weavey avatar weavey commented on May 26, 2024
刷新完成的问题

from easyrefreshlayout.

Comments (4)

lucklygaj avatar lucklygaj commented on May 26, 2024

你可以使用下面两个方法 public void loadMoreFail() {
((ILoadMoreView)this.mLoadMoreView).loadFail();
this.resetLoadMoreState();
this.isLoadingFail = true;
}

public void loadNothing() {
    ((ILoadMoreView)this.mLoadMoreView).loadNothing();
    this.resetLoadMoreState();
    this.isNotMoreLoading = true;
}

from easyrefreshlayout.

ljf1172361058 avatar ljf1172361058 commented on May 26, 2024

上面两个方法都是加载更多调用的?刷新的也是这样用么?

from easyrefreshlayout.

ljf1172361058 avatar ljf1172361058 commented on May 26, 2024

这两个方法是不是可以在源码中封装一下呢?如果自己来写的话用的地方多了就比较繁琐了

from easyrefreshlayout.

lucklygaj avatar lucklygaj commented on May 26, 2024

是对于不同的加载情况,你可以调用相应的回调,来控制显示结果,嗯,感谢你的反馈,

from easyrefreshlayout.

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.