안드로이드 개발 질문/답변
(글 수 45,052)
대략 처음에는
intent = new Intent(Main.this, Main.class);
startActivity(intent);
finish();
요렇게 해 주려고 했으나.. intent flag중에 FLAG_ACTIVITY_SINGLE_TOP 이라는 녀석이 있었습니다..
그래서 수정한 소스가
intent = new Intent(Main.this, Main.class);
intent.addFlags(intent.FLAG_ACTIVITY_SINGLE_TOP);
startActivity(intent);
이렇게 되는데요..
요게 작동을 하지 않게 되네요 ^^;;
뭔가 잘못된 소스가 있는건가요..?
조언 부탁 드립니다 ^^




자기가 자기를 왜 호출해야 하는지 모르겠네요