On Dec 30, 2011, at 8:45 AM, was wrote:
> I want to restart an activity when the user changes the screen orientation.

That is the default behavior, unless you set 
ActivityAttribute.ConfigurationChanges:

        [Activity(ConfigurationChanges=ConfigChanges.Orientation)]
        public class ManuallyHandleScreenRotation : Activity {
        }

If you want the activity to be re-created on screen rotation, DO NOT set 
ActivityAttribute.ConfigurationChanges.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to