This quick experiment will help familiarize ourselves with the lifecycle methods our app uses, as well as give us a chance to play around with a bit more Java code:
Lifecycle Demonstration. Of course, the code is in the download bundle in the
Chapter 6/Lifecycle Demonstrationfolder should you wish to refer to it or copy and paste it.
MainActivity.javafile in the code editor, if it is not opened for you by default, by left-clicking on the MainActivity tab above the editor.
If the previous steps were not detailed enough, check back to any of the previous ...