Last active
August 29, 2015 14:02
-
-
Save jwill/6e10a96fb5cfde9dd3a3 to your computer and use it in GitHub Desktop.
t
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Shot A] For the purposes of the Sunshine app, this information is purely theoretical. In fact, you’ll really only need to consider this later, when you're adding things like sensor or location listeners. Until then, the default components will handle much of this behaviour for you. | |
[Shot B] In any case, now that you understand the lifecycle, and the way the system handles exiting your app when it requires the resources, you should hopefully understand why exit or “quit” buttons in Android apps serve no practical purpose. At most, you can call finish() on an Activity and it will get torn down instantly -- but that’s actually what happens when a user simply hits “back” from within an Activity. | |
If you’re still not convinced, check out the video in the instructor notes where I explain my reasoning with a little more… color. [funny screenshot of video] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment