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
[examples written] Some good examples you might have come up with are Sensor Listeners, Location updates, Realtime physics or lighting engines, and Programatically registered Broadcast Receivers. | |
Anything that doesn’t need to keep updating until the user returns to the app should be paused on onPause and resumed in onResume. Anything that should keep happening when the Activity is paused, shouldn’t happen within an Activity -- and we’ll look at some of those in later lessons. | |
Keep in mind that your Activity is still *visible* -- though partially obscured -- when it’s paused but not stopped. So don’t stop drawing your UI when you receive onPause! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment