안드로이드 개발 질문/답변
(글 수 45,052)
Configuration 클래스를 보니
=> This class describes all device configuration information that can impact the resources the application retrieves. 이라고 설명이 되있네요.
Activity 클래스의 onConfigurationChanged() 메서드를 보니
=> Called by the system when the device configuration changes while your activity is running. 설명이 되있네요
실제 Ctrl + F11을 눌러서 에뮬을 눞히고 했을때 onCongifurationChanged() 메서드가 호출이 되더라구요.
onConfigurationChanged() 메서드가 이 경우에만 호출이 되는건지, 아니면 다른 환경 변화에도 호출이 되는 것인지 궁금합니다.
다른 환경 변화도 있다면 알려주세요.^^
android:configChanges= 에서 지정해준 설정 변화에 대해서만
해당 Activity의 onConfigurationChanged()가 호출 되는것으로 알고 있습니다.