Giter Site home page Giter Site logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 17, 2024
Animations does not seem to work on the wheel rows. 
Do you know why?
Thanks.

Original comment by [email protected] on 27 May 2013 at 5:42

from android-wheel.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 17, 2024
I think I now the problem.

The thing is if i call invalidate on a row of the wheel, nothing happens 
because items are drawn manually on a canvas.

I must call invalidate on the whole wheel to update the display. Therefore 
Animations wont work here.

A workaround is to implement an animation with a message handler and update the 
whole wheel at each frame.


Original comment by [email protected] on 27 May 2013 at 7:16

from android-wheel.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 17, 2024
I agree with you in each part. I tried to call invalidate on each wheel but 
nothing happened. Invalidate each row works well. 
Animations now are managed by an handler delayed message invalidating each 
custom view's onDraw() method. The animation's performance are much related to 
hardware, so running same code in differents frame rate context give rise to 
unexpected or not wanted dynamics.

Original comment by [email protected] on 27 May 2013 at 8:35

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.