[mono-android] Handling Config Changes
was
skylogdev at btconnect.com
Fri Dec 30 08:45:45 EST 2011
I want to restart an activity when the user changes the screen orientation.
The docs say:
"public static final int configChanges
Since: API Level 1
Specify one or more configuration changes that the activity will handle
itself. If not specified, the activity will be restarted if any of these
configuration changes happen in the system. Otherwise, the activity will
remain running and its Activity.onConfigurationChanged method called with
the new configuration. "
I haven't set any config flags in the AndroidManifest, but changes to screen
orientation do not cause the activity currently active to restart -
presumably by firing OnCreate - as the docs imply should happen. Am I
misunderstanding this? Using MfA 1.2
Regards...Andrew
--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Handling-Config-Changes-tp5110047p5110047.html
Sent from the Mono for Android mailing list archive at Nabble.com.
More information about the Monodroid
mailing list