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

The Activity Lifecycle

Inside the 'onCreate()' method of MainActivity, add a line of code to execute the 'onCreate()' method of the parent, or superclass, of this MainActivity class. Don’t forget to pass along the parameter, and call it before the 'aString' variable is set!

1 Answer

At least give some people some kind of effort on your own part to do the questions. Don't just copy them to the forum and expect people to tell you the answers without you trying yourself. That's not the way you are going to learn and understand the principles.

Also you could have added these 3 posts into 1.

Thanks