在 onStart() 或 onPause() returns 之后 Activity 是否处于暂停状态?

Is an Activity in paused state after onStart() or onPause() returns?

根据 android here 的文档,activity 基本上有四种状态,其中一种称为 paused 和这是 activity 失去焦点但仍然可见的状态。我的问题是: 这种状态是否仅限于那种情况,或者我们可以将其概括为这个新定义: activity 状态在 onStart()[=19 之后立即 paused =] 或 onPaused() returns.

Is this state limited only to that situation or we can generalize it to this new definition: An activity state is paused right after onStart() or onPaused() returns.

没有。不限于那种情况。

如果你进一步阅读它说:

The foreground lifetime of an activity happens between a call to onResume() until a corresponding call to onPause(). During this time the activity is in front of all other activities and interacting with the user. An activity can frequently go between the resumed and paused states -- for example when the device goes to sleep, when an activity result is delivered, when a new intent is delivered -- so the code in these methods should be fairly lightweight.