오늘 아침에 나는 onConfigurationChanged이벤트 를 처리하려고하는 문제를 생각 해냈다 . 문제는 전화 방향을 변경할 때 재정의하는 메서드가 호출되지 않는다는 것입니다. 전혀 전화하지 않습니다.
나는 android:configChanges="orientation"안드로이드 문서에 언급 된 것처럼 매니페스트에 정의 된 활동을 입었지만 아무런 차이가 없습니다.
이 문제를 생각해 보셨습니까?
android:configChanges 이것은 구글 javadoc가 말한 것입니다 : Note: If your application targets API level 13 or higher (as declared by the minSdkVersion and targetSdkVersion attributes), then you should also declare the "screenSize" configuration, because it also changes when a device switches between portrait and landscape orientations.
