Git Product home page Git Product logo

Comments (2)

ai212983 avatar ai212983 commented on July 17, 2024

What comes to mind first: it will be using Canvas, extending AdapterView. Year selection in stock Android will be used as design reference, but not that much (because it is SO basic).

Features to think of in no particular order:

  • Handling ripple effects (enabling/disabling/customizing?), maybe implementing my own (like ripples from bouncing)
  • Different sizes for scrolling items
  • Implementing some kind of viewportSize/totalSize (like for scrollViews)
  • infinite scrolling (lazy items provider, related to above)
  • overscrolling support (incl. bouncing)
  • initial value (animated/non-animated)
  • customizable dimming
  • customizable effects/styles for selected item (including background)
  • support for layers (like animated arrow pointing to active element)
  • updateable items (like placeholders for images being loaded)
  • widget can be non-symmetric (selected item not in the center)
  • effects like items changing size (fisheye effect)
  • per-widget and per-item effects (smooth gradual opacity vs opacity per item)

Also gotta take a look at example here, Scroller and OverScroller classes.

from android-spinnerwheel.

ai212983 avatar ai212983 commented on July 17, 2024

it seems there's lotsa decent wheel libraries out there, not sure it makes sense to write yet another one

from android-spinnerwheel.

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.