안드로이드 개발 질문/답변
(글 수 45,052)
현재 구성이
호출 종료시 호출 이동
ContentsListPage ---> FileDownloadAsyncTask ---> ExampleAsyncTask ---> Viewer
이런 흐름인데
ExampleAsyncTask가 종료되면서 Intent로 페이지를 전환합니다.
mContext는 ContentsListPage에서 받은 녀석입니다.
Intent intent = new Intent(mContext, Viewer.class);
intent.putExtra("page", chapter);
mContext.startActivity(intent);
overridePendingTransition(R.anim.fade, R.anim.hold); <---- 이 놈이 android.app.Activity 에 속한놈인데
단순히 mContext.overridePendingTransition 해버리면 안되더라구요
저 overridePendingTransition은 어디서 땡겨와야하는건가요?