Activity

Activities are one of the fundamental building blocks of apps on the Android platform. They serve as the entry point for a user's interaction with an app, and are also central to how a user navigates within an app (as with the Back button) or between apps (as with the Recents button).

活动是Android平台上应用程序的基本组成部分之一。他们作为用户与应用程序交互的切入点,也是一个app(例如返回按钮)或者app之间用户如何导航的中心(例如旋转按钮)。

Skillfully managing activities allows you to ensure that, for example:

巧妙的管理活动需要你确保以下几点,例如:

 

  • Orientation changes take place smoothly without disrupting the user experience.

方向变化流畅不会影响用户体验。

 

  • User data is not lost during activity transitions.

用户数据不会在活动转换期间丢失。

 

  • The system kills processes when it's appropriate to do so.

系统在适当的时间杀死进程。

This section begins by providing an introduction to the concept of activities. It goes on to describe the activity lifecycle in detail. Next, it discusses state changes and how to accommodate them. After that, this section talks about the relationship between activities and intra- and inter-app. navigation. Last, this section explains the relationship between activities and the processes that host them.

本节首先介绍活动的概念。详细描述了Activity的生命周期。接着讨论了(Activity生命周期)状态变化和如何适应他们(的变化)。然后,讨论了Activity之间和跨应用app之间的关系。最后,解释了Activity和宿主进程之间的关系

accommodate
英 [əˈkɒmədeɪt]   美 [əˈkɑ:mədeɪt]  
vt.
容纳;使适应;向…提供住处;帮忙
vi.

[后面省去反身代词]适应于;(眼)作调节,调节眼球的晶状体(使其变得适应不同距离的物体);调解,调停

inter-app:跨应用程序

intra-:内部的

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值