As Android docs says: ```Activity recreation is di...
# android
p
As Android docs says:
Copy code
Activity recreation is disabled for size-based configuration changes when you have android:configChanges="screenSize|smallestScreenSize|orientation|screenLayout" in your manifest file.
I'm having a rare behaviour when compiling for Android 16 and using
android:appCategory="game"
. Even with
configChanges="orientation"
specified on manifest and this on my activity:
Copy code
override fun onConfigurationChanged(newConfig: Configuration) {
    super.onConfigurationChanged(newConfig)
}
I'm seeing that when orientation is changed, onPause, onDestroy and onCreate are being called again.
google 3
not kotlin but kotlin colored 3
c
Image from iOS.jpg