Android_Lifecycle

Requirements

Start with the provided starter project

Track the activity states

  1. Open the provided project.
  2. Override all Activity Lifecycle Methods in each of your Activities.
  3. For each of those, log when the Lifecycle Method is called.
  4. In the log, be sure to include the name of the activity and the name of the state being entered.

Use javaClass.simpleName to programatically get the name of the current activity being run

Complete Exercises

I know you aren't excited to be doing more worksheets, however, this module requires you to explore and play with the lifecycle to begin to understand it. Go to this form (here)[https://goo.gl/forms/6ETT6uMwuxSqAs8t2] and work through the tasks.

Challenge

Explore this app and try and figure out what it does and how. Add comments with your initials describing what each block of code that you can decifer does.

Example: // lines 34-40 respond to a button click and launch a new activity