Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Wrapping Up0:48 with Ben Deitch
Great job on finishing your first Android app!
Let's look back on all that we've learned in this project.
We've set up the development environment and
created an app project using a template.
Then we added a text view and a button to the screen and made the button display
a fun fact by using the random class to help us generate a random number.
That random number is then used to get a fun fact from an array of strings,
where all the fun facts are stored.
We then refactored our code to better organize it and
get more practice with creating new objects.
Then we dynamically set the background color of the whole screen.
And finally, we looked at a few methods for troubleshooting our code.
Thanks a lot for watching, and congratulations on making it to the end.
There are lots of other things you can make with this code.
And I encourage you to try to make something new and
share it with the community.
Until next time,
You need to sign up for Treehouse in order to download course files.Sign up