Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialZerui Ma
5,422 PointsfadeInAnimation sometimes failed...
I have found that the text in the middle sometimes will just jump out without the fade in effect, you have to try like 30 times to see this happen 1 or 2 times.
So my question is: is it just the emulator lag problem? Or is it caused by the same problem of ballAnimation that android didn't stop the animation in time?
Thanks in advance!
1 Answer
Ben Jakuben
Treehouse TeacherI haven't noticed this myself, but it very well could be a timing issue. Do you have a device you could try running it on?
Masum Bergmann
Courses Plus Student 4,129 PointsMasum Bergmann
Courses Plus Student 4,129 PointsI've had the same issue on the Emulator (Genymotion), where the text would sometimes fade in, and sometimes it would just be there (no fade in effect), even after trying things like making the text/layout invisible and setting it back to visible just before calling the effect, or playing with the effect duration. However, once uploaded onto my phone, it worked perfectly. The text fades in every time! (hope this feedback will help!)
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherThanks! I'll try debugging it on Genymotion later to see if I can reproduce it. Which device are you using for Genymotion?
Masum Bergmann
Courses Plus Student 4,129 PointsMasum Bergmann
Courses Plus Student 4,129 PointsI'm using the "Google Nexus 7 2013 - 4.4.2 - API 19 - 1200x1920" device...