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 trial

Android

Animating Crystal Ball Code Challenge

I'm stuck on task 2, video was not clear on what to do. Please help me.

public void animateFrog(){ImageView frogImage = (ImageView) findViewById(R.id.frog);}

What do I do after?

2 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Check out the Animating the Crystal Ball video starting at the 6:10 mark for details on how to create an AnimationDrawable variable. Hope this helps!

Thank you, Ben! The project has been great so far. I appreciate you responding to your "students" questions. I did figure it out right after posting yesterday, but thanks for the help.

I did re watch and re watch the video, then I caught it.

I forgot jumpAnimation.Start();

It was in my notes but I did not catch it.