문제

I was reading the Android documentation on the Android developer website and I read the following near the Android Activity Lifecycle:

If an activity in the foreground of the screen (at the top of the stack), it is active or running.

What is the difference between active and running? It says that they are both on the foreground of the screen, so I can't see the real difference between those states.

도움이 되었습니까?

해결책

An activity can still be running, but it is not active, whenever it is still visible on the screen, but partially obscured by another activity.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top