我正在阅读Android开发人员website上的Android文档,并在Android活动生命周期附近阅读以下内容:
If an activity in the foreground of the screen (at the top of the stack), it is active or running.
主动和跑步有什么区别?它说它们都在屏幕的前景,所以我看不出这些状态之间的真正区别。
答案 0 :(得分:0)
活动仍然可以正在运行,但它不是活动,只要它仍在屏幕上可见,但被其他活动部分遮挡。