The call to onRetainConfigurationChange and getLastNonConfigurationInstance always works, if you have your activity declared not to handle configuration changes by itself (which it doesn't by default).
On Jun 22, 10:51 am, Gyan <[email protected]> wrote: > Classic problem! > > Use a static variable rather than onRetainConfigurationChange() lot of state > data to be saved && doesn't work all the time!! > > Gyan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

