首页 > 移动平台 > 详细

Android activity‘s life cycle

时间:2014-04-01 10:27:42      阅读:531      评论:0      收藏:0      [点我收藏+]

Here are some functions will be call in a activity‘s life cycle:

1.oncreate():

it will be called when a activity be created.

2.onstart()

when activity be visibled.

3.onresume()

when the activity get the focus.(that‘s mean it‘s view can response u)

4.onpause

when the activity loss the focus

5.onstop

when the activity can‘t be visibled

6.ondestrory

when the activity be destroeid


Android activity‘s life cycle,布布扣,bubuko.com

Android activity‘s life cycle

原文:http://blog.csdn.net/howlaa/article/details/22694069

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!