आज सुबह मैं इस 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.
