展会信息港展会大全

Android activity‘s life cycle
来源:互联网   发布日期:2016-01-14 10:26:13   浏览:1361次  

导读: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 res...

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开发

AiLab云推荐
推荐内容
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港