Coder Social home page Coder Social logo

Comments (3)

chalup avatar chalup commented on August 23, 2024

It's addressed in 'caveats' section in readme:

"Unlike some other FloatingActionButton libraries this library doesn't implement "quick return" pattern, i.e. hiding the button on scrolling down and showing it on scrolling up. That's intentional, I think that should be responsibility of another component, not the button itself."

from android-floating-action-button.

Collinux avatar Collinux commented on August 23, 2024

@chalup What component do you think should be responsible for this feature? What do you recommend for the implementation of this feature with your library using the FloatingActionsMenu?

from android-floating-action-button.

chalup avatar chalup commented on August 23, 2024

Next week we'll probably introduce the quick return pattern in our app. I'll update the sample app with our solution then.

Also, let me elaborate on this approach: start Google+ application and start scrolling slowly down. The feed filter, action bar, floating action button and "refresh" toast will disappear almost at the same time, with almost the same timings and almost the same easing curves. Can you spot the pattern here? I think that's what happens if each component implements the quick return behavior on it's own.

Things get even messier when we're talking about library that's supposed to be used in variety of applications with unique UIs. Either each of those libraries would have to conform to some spec (not gonna happen outside of failryland) or would have to implement heavy customization of behavior of each UI element.

from android-floating-action-button.

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.