Git Product home page Git Product logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
A workaround for this bug is to pass the new NumericWheelAdapter a C-style 
format string as the third paramter, i.e. "%02d" for a 2 digit decimal number 
with 0 padding.

Original comment by [email protected] on 22 Apr 2012 at 6:11

from android-wheel.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I had the same problem, fix it changing:
int WheelView at function:
private void buildViewForMeasuring
replace
int addItems = visibleItems / 2;
with
int addItems = viewAdapter.getItemsCount()

Original comment by [email protected] on 13 May 2012 at 8:08

from android-wheel.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 19, 2024
I'm thinking about this issue.
And I think the best approach is to set the wheel width manually or use items 
with the same width, or use the approach from Comment #1.
The fix above (Comment #2) is not so good since there can be a lot of wheel 
items, or items are loaded from somewhere, so there would be performance issues.

Original comment by [email protected] on 14 May 2012 at 11:16

  • Changed state: Accepted

from android-wheel.

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.