Welcome to the Treehouse Community
Looking to learn something new?
Anthony chen699 Points
Set the Toast variable using the static makeText() method of the Toast class. Use the this keyword for the first paramet
Toast.makeText(this, "All done!" , Toast.LENGTH_LONG);
You used the method correctly! The question has one more detail though: it asks you to set the text of the Toast variable using this method. Your answer needs to include the variable!
Hey Anthony Chen So when it declares allDoneToast
you have to initialize it by setting it equal to what you wrote above like this.
Toast allDoneToast = Toast.makeText(this, "All done!", Toast.LENGTH_LONG);