Start with your Image Viewer app override methods for all the activity states so that the system logs each time a state is entered.
- Make a copy of your Image Viewer app.
- Override all Activity Lifecycle Methods in each of your Activities.
- For each of those, log when the Lifecycle Method is called.
- In the log, be sure to include the name of the activity and the name of the state being entered.
Use
this.getClass().getSimpleName()
to programatically get the name of the current activity being run
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.
Send your completed app to your Project Manager.
Move the functionality of your app around to match what should be done in each of the app states.