udeepak / android-carousel-demo Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-carousel-demo
Automatically exported from code.google.com/p/android-carousel-demo
What steps will reproduce the problem?
1. Create a carousel view with 7 Items
2. Select anyone that is not the first one
3. Get the callback with the position as 0
What is the expected output? What do you see instead?
It was expected to return the correct position
Please provide any additional information below.
Digging into the code I looked into the Carousel.java class and turns out that
here:
http://code.google.com/p/android-carousel-demo/source/browse/CarouselDemo/src/co
m/carouseldemo/controls/Carousel.java#1236 there was an infinite iteration
since the angle is about 4.7 degrees each time and it goes into an infinite
recursion (calling the mFlingRunnable each time this method is called).
I fixed if in my case by simply changing "if (angle != 0.0f)" to "if
(Math.abs(angle) > 4)" But this is just a workaround and I am unsure of where
the problem could be coming from since I am not very familiar with the code in
hand.
Regards
Original issue reported on code.google.com by [email protected]
on 13 Mar 2012 at 1:44
What steps will reproduce the problem?
1.I m adding images from sqlite db
2. modified the set images method
3. if image count is greater than 9 onItemSelected listener not working
What is the expected output? What do you see instead?
it has to trigger onItemSelected even if we have 'n' number of images
What version of the product are you using? On what operating system?
the current version.
Please provide any additional information below.
can contact me on [email protected]
Original issue reported on code.google.com by [email protected]
on 31 Oct 2013 at 9:58
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.