阅读背景:

(三)Managing the Activity Lifecycle管理activity的生命周期

来源:互联网 
As a user navigates through, out of, and back to your app, the Activity instances in your app transition between different states in their lifecycle. For instance, when your activity starts for the first time, it comes to the foreground of the system and receives user focus. During this process, the Android system calls a series of lifecycle methods on the activity in which you set up the user interface and other components. If the user performs an action that starts another activity or switches to another app, the system calls another set of lifecycle methods on your activity as it moves into the background (where the activity is no longer visible, but the instance and its state remains intact).As a user navigates through, out of, and back to y


你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: