Giter VIP home page Giter VIP logo

Comments (3)

felipecsl avatar felipecsl commented on July 17, 2024

You should use SwipeRefreshLayout instead of pull to refresh, which has
been deprecated long ago. QuickReturn hasn't been tested with pull to
refresh and probably won't work well.

On Thu, Dec 25, 2014, 19:36 danger1988 [email protected] wrote:

_I have bang my head to combine those two together without succesfully.I
currently use the pull to refresh list mention below:
https://github.com/johannilsson/android-pulltorefresh
_But when i combine with Quick return, the behaviour is not as expected,
when scrolldown, the sticky view only show with half of the height.

_I would like to ask if it is possible to combine QuickReturn with the
pullToRefresh pattern?


Reply to this email directly or view it on GitHub
#24.

from quickreturn.

danger1988 avatar danger1988 commented on July 17, 2024

thanks for replying so fast. I really want to use SwipeRefreshLayout but the company would like to custom the animation (like the arrow rolling and show loading header) when we refresh (not just use the 4 color line as the swipe refresh does). Could you give me some suggestion?

from quickreturn.

felipecsl avatar felipecsl commented on July 17, 2024

Well you could listen to the SwipeRefreshLayout onRefresh callback and display a custom view, maybe with a different animation. That is up to you. You also don't have to necessarily use the class provided by the framework. You can copy the SwipeRefreshLayout to your project and modify it to display something different. That is totally doable and simple to do.

from quickreturn.

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.