Re: [android-developers] prevent restarting activity when config changes

2012-08-03 Thread Mark Murphy
You are much better served by handling configuration changes via retained fragments, or onSaveInstanceState(), or onRetainNonConfigurationInstance(). After all, there are many more configuration changes than just those two. On Fri, Aug 3, 2012 at 8:29 AM, agarg007 wrote: > Hello friends; > I impl

[android-developers] prevent restarting activity when config changes

2012-08-03 Thread agarg007
Hello friends; I implement an ex of fragments in Android fm Vogella.com. i want to do that my activity do not restart when our Orientation changes.. i use android:configChanges="keyboardHidden|orientation" in my manifest file and implement a onConfigChange method in our activity. but it do no