안녕하세요.


일단 아래 developer 사이트에 있는 내용입니다.


public static final int FLAG_ACTIVITY_PREVIOUS_IS_TOP


Since: API Level 1

If set and this intent is being used to launch a new activity from an existing one,

the current activity will not be counted as the top activity

for deciding whether the new intent should be delivered to the top instead of starting a new one.

The previous activity will be used as the top, with the assumption being that the current activity will finish itself immediately.

Constant Value: 16777216 (0x01000000)


기존 Activity(?)에서 새로운 Activity를 시작하는 경우

새로운 Activity(?)를 실행하는 것 대신에 새로운 intent를 최상위로 전달해야 하는지를 결정하기 위해

현재 Activity를 최상위 Activity로 카운트 하지 않는다.

이 flag를 사용하면 현재 Activity가 즉시 종료하는 것을 전제로 이전 Activity가 최상위로 취급 된다.


제 독해 실력이 부족하기도 하고

코드로 flag 설정해서 돌려봐도 다른 점을 못 찾겠네요.

당최 이해가 되지 않습니다 ㅠ


아시는 분은 답변 부탁드립니다.

예까지 들어 주시면 더욱 감사하겠습니다;;


오늘도 수고하세요 : )