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

Step 3 of the Toast challenge, combining the first two lines isn't this the correct answer?

Toast.makeText(this, "All done!", Toast.LENGTH_LONG).show();

Hey there!

Can you please provide a link to the Code Challenge you're having a problem with and I'd be happy to help out? :)

1 Answer

I figured it out thanks The solution to the 3 step: allDoneToast.show(); ...since allDoneToast was defined in the previous lines.

Ah! Glad you managed to get it done :)

I'll mark your answer as the Best Answer so that other users know that this question has been answered ;)